Skip to content
This repository was archived by the owner on Dec 30, 2020. It is now read-only.
This repository was archived by the owner on Dec 30, 2020. It is now read-only.

EarthdataHDFPointMapper is not recognized as FlatMapFunction #7

@Corvexmanu

Description

@Corvexmanu

Expected behavior
Template Project for GeoSpark, GeoSparkSQL and GeoSparkViz running properly.

Actual behavior
I am trying to run the Template Project for GeoSpark, GeoSparkSQL and GeoSparkViz, but when I am trying to run the java program (In Eclipse) I am getting an error:

The error is in this line:
PointRDD spatialRDD = new PointRDD(sparkContext, earthdataInputLocation, earthdataNumPartitions, earthdataHDFPoint,StorageLevel.MEMORY_ONLY());

I checked by myself and I think so that it is related to the object earthdataInputLocation, which is not recognzed as a FlatMapFunction. But I dont know if I need to modify in some way the code or if it is just a matter of some additional step.

Steps to reproduce the problem
Open new Java project in Eclipse.
Import geospark-viz\java
Load .jar referenced libraries :
geospark1.1.3
spark-core_2.10-0.9.2
log4j-1.2.17
geospark-viz-1.1.3.jar
Settings
GeoSpark version = 1.1.3

Apache Spark version = 2.10

JRE version = 1.8.0_191

API type = Java

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions