Giter Club home page Giter Club logo

hivesp's People

Contributors

ablimit avatar ashutoshc avatar cwsteinbach avatar hixiaoxi avatar omalley avatar tomwhite avatar zshao avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

hivesp's Issues

compilation fails: serde

Hi,

I followed the install instructions, but compilation of serde failed. Here is my error log:

compile:
[echo] Project: serde
[javac] Compiling 302 source files to /home/asoso/code/hivesp/build/serde/classes
[javac] /home/asoso/code/hivesp/serde/src/java/org/apache/hadoop/hive/serde2/lazy/objectinspector/primitive/LazyGeometryObjectInspector.java:25: org.apache.hadoop.hive.serde2.lazy.objectinspector.primitive.LazyGeometryObjectInspector is not abstract and does not override abstract method getPrimitiveWritableObject(java.lang.Object) in org.apache.hadoop.hive.serde2.objectinspector.primitive.GeometryObjectInspector
[javac] public class LazyGeometryObjectInspector
[javac] ^
[javac] /home/asoso/code/hivesp/serde/src/java/org/apache/hadoop/hive/serde2/objectinspector/ObjectInspectorConverters.java:118: cannot find symbol
[javac] symbol : constructor GeometryConverter(org.apache.hadoop.hive.serde2.objectinspector.PrimitiveObjectInspector,org.apache.hadoop.hive.serde2.objectinspector.primitive.SettableGeometryObjectInspector)
[javac] location: class org.apache.hadoop.hive.serde2.objectinspector.primitive.PrimitiveObjectInspectorConverter.GeometryConverter
[javac] return new PrimitiveObjectInspectorConverter.GeometryConverter(
[javac] ^
[javac] Note: Some input files use or override a deprecated API.
[javac] Note: Recompile with -Xlint:deprecation for details.
[javac] Note: Some input files use unchecked or unsafe operations.
[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors

BUILD FAILED
/home/asoso/code/hivesp/build.xml:302: The following error occurred while executing this line:
/home/asoso/code/hivesp/build.xml:152: The following error occurred while executing this line:
/home/asoso/code/hivesp/serde/build.xml:48: Compile failed; see the compiler error output for details.

Failed to build on hadoop 2.2.0

Hi,

I am trying to build hivesp on hadoop v 2.2.0. however as it was mentioned in tutorial. it was built using hadoop version 0.20.2.

on the command of ant i put the version of hadoop 2.2.0 but it gives me unresolved dependencies error.

and when i replace it with 0.20.2 it still fails to build. the error is

/home/hivesp/build.xml:302: The following error occured while executing this line:
/home/hivesp/build.xml:152: The following error occured while executing this line:
/home/hivesp/metastore/build.xml:98: Java returned 1

what might be the issue? anyone had experience on working hivesp with hadoop 2.2.0?

Failed to build resque.cpp

Hi,
I installed hiveSP using the tutorial and all Dependent Libraries which are needed by resque.
When I tried to build resque.cpp of task4 as the tutorial shows I got these errors
//////////////
root@ubuntu:/usr/local/hadoop-GIS/hivesp/resque/xiling/task4# make
g++ -L /usr/local/lib/ -lgeos -L/usr/local/lib -lspatialindex resque.cpp -o resque
/tmp/ccNGhF2R.o: In function 'readSpatialInputGEOS()': resque.cpp:(.text+0x367): undefined reference to 'geos::geom::PrecisionModel::PrecisionModel()'
resque.cpp:(.text+0x387): undefined reference to 'geos::geom::GeometryFactory::GeometryFactory(geos::geom::PrecisionModel const_, int)'
resque.cpp:(.text+0x3ad): undefined reference to 'geos::io::WKTReader::WKTReader(geos::geom::GeometryFactory const_)'
resque.cpp:(.text+0x5a3): undefined reference to 'geos::io::WKTReader::read(std::string const&)'
resque.cpp:(.text+0x5e7): undefined reference to 'geos::io::WKTReader::read(std::string const&)'
/tmp/ccNGhF2R.o: In function 'join_intersects()':
resque.cpp:(.text+0xcea): undefined reference to 'geos::geom::Envelope::intersects(geos::geom::Envelope const_) const'
/tmp/ccNGhF2R.o: In function 'join_equals()':
resque.cpp:(.text+0x2a0f): undefined reference to 'geos::geom::Envelope::equals(geos::geom::Envelope const_) const'
/tmp/ccNGhF2R.o: In function 'join_dwithin()':
resque.cpp:(.text+0x2ed6): undefined reference to 'geos::operation::buffer::BufferOp::getResultGeometry(double)'
resque.cpp:(.text+0x2f7d): undefined reference to 'geos::operation::buffer::BufferOp::getResultGeometry(double)'
resque.cpp:(.text+0x2fc3): undefined reference to 'geos::geom::Envelope::intersects(geos::geom::Envelope const_) const'
/tmp/ccNGhF2R.o: In function 'geos::geom::Envelope::contains(geos::geom::Envelope const&) const':
resque.cpp:(.text.ZNK4geos4geom8Envelope8containsERKS1[ZNK4geos4geom8Envelope8containsERKS1]+0x1f): undefined reference to 'geos::geom::Envelope::covers(geos::geom::Envelope const&) const'
/tmp/ccNGhF2R.o: In function 'geos::util::TopologyException::TopologyException()':
resque.cpp:(.text._ZN4geos4util17TopologyExceptionC2Ev[ZN4geos4util17TopologyExceptionC5Ev]+0xcc): undefined reference to 'geos::geom::Coordinate::Coordinate(double, double, double)'
/tmp/ccNGhF2R.o: In function 'geos::operation::buffer::BufferOp::BufferOp(geos::geom::Geometry const
)':
resque.cpp:(.text._ZN4geos9operation6buffer8BufferOpC2EPKNS_4geom8GeometryE[_ZN4geos9operation6buffer8BufferOpC5EPKNS_4geom8GeometryE]+0x38): undefined reference to 'geos::operation::buffer::BufferParameters::BufferParameters()'
collect2: error: ld returned 1 exit status
make: *** [resque] Error 1
///////////////
I am sure that libgeos.a & libspatialindex.a are in /usr/local/lib directory.
What might be the issue ?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.