Hortonworks Sandbox Forum

using-spring-xd-to-stream-tweets-to-hadoop-for-sentiment-analysis

  • #54068
    Riaan S
    Participant

    Hi,
    I just downloaded everything, and I’m trying to follow the tutorial at : http://hortonworks.com/hadoop-tutorial/using-spring-xd-to-stream-tweets-to-hadoop-for-sentiment-analysis/

    On the step where you have to do :
    “CREATE EXTERNAL TABLE cyrustweets_raw”
    I keep on getting this error :
    Driver returned: 1. Errors: OK
    converting to local hdfs://sandbox.hortonworks.com:8020/user/hue/json-serde-1.1.9.3-SNAPSHOT-jar-with-dependencies.jar
    Added /tmp/4dd1f1d6-b17c-45a6-b157-c477c1463f79_resources/json-serde-1.1.9.3-SNAPSHOT-jar-with-dependencies.jar to class path
    Added resource: /tmp/4dd1f1d6-b17c-45a6-b157-c477c1463f79_resources/json-serde-1.1.9.3-SNAPSHOT-jar-with-dependencies.jar
    FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Could not initialize class org.openx.data.jsonserde.objectinspector.JsonObjectInspectorFactory

    I realize that my version of the json-serde is not the same as mentioned in the tutorial, but I just downloaded and compiled the source from git as it is now. Is this version specific problem, or am I missing something else/doing something else wrong ?

    Any help would be appreciated.

    Tx,
    R

to create new topics or reply. | New User Registration

  • Author
    Replies
  • #54073
    Riaan S
    Participant

    Driver returned: 1. Errors: OK
    converting to local hdfs://sandbox.hortonworks.com:8020/user/hue/json-serde-1.1.6-SNAPSHOT-jar-with-dependencies.jar
    Added /tmp/33ad84eb-58dc-4441-83c9-d5c6593f928a_resources/json-serde-1.1.6-SNAPSHOT-jar-with-dependencies.jar to class path
    Added resource: /tmp/33ad84eb-58dc-4441-83c9-d5c6593f928a_resources/json-serde-1.1.6-SNAPSHOT-jar-with-dependencies.jar
    FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. Could not initialize class org.openx.data.jsonserde.objectinspector.JsonObjectInspectorFactory

    So not version specific, so must be something else I’m doing wrong, but I dont know where to start to look for the problem.

You must be to reply to this topic. | Create Account

Support from the Experts

A HDP Support Subscription connects you experts with deep experience running Apache Hadoop in production, at-scale on the most demanding workloads.

Enterprise Support »

Become HDP Certified

Real world training designed by the core architects of Hadoop. Scenario-based training courses are available in-classroom or online from anywhere in the world

Training »

Hortonworks Data Platform
The Hortonworks Data Platform is a 100% open source distribution of Apache Hadoop that is truly enterprise grade having been built, tested and hardened with enterprise rigor.
Get started with Sandbox
Hortonworks Sandbox is a self-contained virtual machine with Apache Hadoop pre-configured alongside a set of hands-on, step-by-step Hadoop tutorials.
Modern Data Architecture
Tackle the challenges of big data. Hadoop integrates with existing EDW, RDBMS and MPP systems to deliver lower cost, higher capacity infrastructure.