The Hortonworks Community Connection is now live. A completely rebuilt Q&A forum, Knowledge Base, Code Hub and more, backed by the experts in the industry.

You will be redirected here in 10 seconds. If your are not redirected, click here to visit the new site.

The legacy Hortonworks Forum is now closed. You can view a read-only version of the former site by clicking here. The site will be taken offline on January 31,2016

Hortonworks Sandbox Forum

Problems with tutorial "Refining and Visualizing Sentiment Data"

  • #43901
    Juan Giraldo

    I’m having troubles with the tutorial “Refining and Visualizing Sentiment Data”. I’m trying to run the script hiveddl.sql but I’m getting some weird log results when the scripts get completed. When I try to browse the data from the table tweets_raw by HCat, I got the following error:

    Unknown exception.

    Log trace:
    13/11/17 11:38:56 WARN lazybinary.LazyBinaryStruct: Extra bytes detected at the end of the row! Ignoring similar problems.
    13/11/17 11:38:56 INFO lazybinary.LazyBinaryStruct: Missing fields! Expected 3 fields but only got 1! Ignoring similar problems.
    13/11/17 11:38:56 ERROR security.UserGroupInformation: PriviledgedActionException as:hue (auth:SIMPLE) cause:BeeswaxException( java.lang.ArrayIndexOutOfBoundsException: 1949199507, log_context:e6b6e37d-cedc-4e82-9c3d-00889a9463fa, handle:QueryHandle(id:e6b6e37d-cedc-4e82-9c3d-00889a9463fa, log_context:e6b6e37d-cedc-4e82-9c3d-00889a9463fa), SQLState: )
    13/11/17 11:38:56 ERROR beeswax.BeeswaxServiceImpl: Caught unexpected exception.
    at com.cloudera.beeswax.BeeswaxServiceImpl.doWithState(
    at com.cloudera.beeswax.BeeswaxServiceImpl.fetch(
    at com.cloudera.beeswax.api.BeeswaxService$Processor$fetch.getResult(
    at com.cloudera.beeswax.api.BeeswaxService$Processor$fetch.getResult(
    at org.apache.thrift.ProcessFunction.process(
    at org.apache.thrift.TBaseProcessor.process(
    at org.apache.thrift.server.TThreadPoolServer$
    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(
    at java.util.concurrent.ThreadPoolExecutor$
    Caused by: BeeswaxException( java.lang.ArrayIndexOutOfBoundsException: 1949199507, log_context:e6b6e37d-cedc-4e82-9c3d-00889a9463fa, handle:QueryHandle(id:e6b6e37d-cedc-4e82-9c3d-00889a9463fa, log_context:e6b6e37d-cedc-4e82-9c3d-00889a9463fa), SQLState: )
    at com.cloudera.beeswax.BeeswaxServiceImpl$RunningQueryState.fetch(
    at com.cloudera.beeswax.BeeswaxServiceImpl$
    at com.cloudera.beeswax.BeeswaxServiceImpl$
    at Method)
    … 10 more

    I don’t know what i’m doing wrong but I got stuck on this problem

    I appreciate your help.


  • Author
  • #43915
    Cheryle Custer


    Are you running the Sentiment tutorial in Sandbox version 1.3 or 2.0? There were some changes in the Sandbox 2.0 that prevent the tutorial from being run in 2.0. We’re working on updating it and will get it republished soon.


    Juan Giraldo

    Hi Cheryle,
    Yes, i’m working in sandbox version 2.0.

    I’m going to be aware for any update.

    Thank you!!

The forum ‘Hortonworks Sandbox’ is closed to new topics and replies.

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.