FAQ
Dear All,
We are using cloudera 4.1.2. with 2 node cluster. But whenever we want to
start the hue it returns a error


Supervisor returned FATAL: + perl -pi -e
's#{{HADOOP_BIN}}#/usr/bin/hadoop#g'
/var/run/cloudera-scm-agent/process/159-hue-BEESWAX_SERVER/hue.ini
/var/run/cloudera-scm-agent/process/159-hue-BEESWAX_SERVER/hue_safety_valve.ini
+ [[ beeswax_server == beeswax_server ]]
+ echo Copying hive-default.xml to
/var/run/cloudera-scm-agent/process/159-hue-BEESWAX_SERVER/hive-conf
+ cp -v /usr/lib/hive/conf/hive-default.xml
/var/run/cloudera-scm-agent/process/159-hue-BEESWAX_SERVER/hive-conf
+ HUE=/usr/share/hue/build/env/bin/hue
+ '[' dumpdata = beeswax_server ']'
+ echo Executing /usr/share/hue/build/env/bin/hue beeswax_server
+ exec /usr/share/hue/build/env/bin/hue beeswax_server
13/03/13 23:10:56 WARN conf.HiveConf: DEPRECATED: Ignoring hive-default.xml
found on the CLASSPATH at
/var/run/cloudera-scm-agent/process/159-hue-BEESWAX_SERVER/hive-conf/hive-default.xml
13/03/13 23:10:56 INFO beeswax.Server: Starting metastore at port 8003
13/03/13 23:10:56 INFO beeswax.Server: Starting beeswaxd at port 8002
13/03/13 23:10:56 INFO beeswax.Server: Parsed core-default.xml
sucessfully. Learned 121 descriptions.
13/03/13 23:10:56 INFO beeswax.Server: Parsed hdfs-default.xml
sucessfully. Learned 112 descriptions.
13/03/13 23:10:56 INFO beeswax.Server: Parsed mapred-default.xml
sucessfully. Learned 133 descriptions.
13/03/13 23:10:56 INFO beeswax.Server: Parsed hive-default.xml
sucessfully. Learned 212 descriptions.
Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.thrift.server.TThreadPoolServer.(Server.java:277)
at com.cloudera.beeswax.Server.main(Server.java:214)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

Also whenever we want to start the hive thrift server ( $ hive --service
hiveservices -p 10000 ) it will return error

Exception in thread "main" java.lang.NoSuchMethodError:
org.apache.thrift.server.TThreadPoolServer.(HiveServer.java:685)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
at org.apache.hadoop.util.RunJar.main(RunJar.java:208)

I am attaching the detail log file. Can any one help us to resolve the
issue?

Thanks & regards
Arindam Mitra
Bridgetree Consultancy Pvt Ltd.
Kolkata-700156, India.
Mobile No:-8296042823
Email: amitra@bridgetree.com
Contact us: www.bridgetree.com<https://exch.bridgetree.com/owa/redir.aspx?C=b715bd78fc3a4afbab1287aeba07a704&URL=http%3a%2f%2fwww.bridgetree.com>


--
Arindam Mitra
Mob. +91 033 9836873106

Search Discussions

  • Romain Rigaux at Mar 15, 2013 at 4:09 pm
    Hi,

    Do you have Hive 0.9 installed? It should pick the class
    /usr/lib/hive/lib/libthrift-0.7.0.jar (Hue 2.1 uses this version of Hive)

    You can check the Hive version by doing something like 'sudo dpkg -l | grep
    hive' or 'ls /usr/lib/hive/lib/'

    Romain
    On Fri, Mar 15, 2013 at 12:40 AM, Arindam Mitra wrote:

    Dear All,
    We are using cloudera 4.1.2. with 2 node cluster. But whenever we want to
    start the hue it returns a error


    Supervisor returned FATAL: + perl -pi -e
    's#{{HADOOP_BIN}}#/usr/bin/hadoop#g'
    /var/run/cloudera-scm-agent/process/159-hue-BEESWAX_SERVER/hue.ini
    /var/run/cloudera-scm-agent/process/159-hue-BEESWAX_SERVER/hue_safety_valve.ini
    + [[ beeswax_server == beeswax_server ]]
    + echo Copying hive-default.xml to
    /var/run/cloudera-scm-agent/process/159-hue-BEESWAX_SERVER/hive-conf
    + cp -v /usr/lib/hive/conf/hive-default.xml
    /var/run/cloudera-scm-agent/process/159-hue-BEESWAX_SERVER/hive-conf
    + HUE=/usr/share/hue/build/env/bin/hue
    + '[' dumpdata = beeswax_server ']'
    + echo Executing /usr/share/hue/build/env/bin/hue beeswax_server
    + exec /usr/share/hue/build/env/bin/hue beeswax_server
    13/03/13 23:10:56 WARN conf.HiveConf: DEPRECATED: Ignoring
    hive-default.xml found on the CLASSPATH at
    /var/run/cloudera-scm-agent/process/159-hue-BEESWAX_SERVER/hive-conf/hive-default.xml
    13/03/13 23:10:56 INFO beeswax.Server: Starting metastore at port 8003
    13/03/13 23:10:56 INFO beeswax.Server: Starting beeswaxd at port 8002
    13/03/13 23:10:56 INFO beeswax.Server: Parsed core-default.xml
    sucessfully. Learned 121 descriptions.
    13/03/13 23:10:56 INFO beeswax.Server: Parsed hdfs-default.xml
    sucessfully. Learned 112 descriptions.
    13/03/13 23:10:56 INFO beeswax.Server: Parsed mapred-default.xml
    sucessfully. Learned 133 descriptions.
    13/03/13 23:10:56 INFO beeswax.Server: Parsed hive-default.xml
    sucessfully. Learned 212 descriptions.
    Exception in thread "main" java.lang.NoSuchMethodError:
    org.apache.thrift.server.TThreadPoolServer.<init>(Lorg/apache/thrift/server/TThreadPoolServer$Args;)V
    at com.cloudera.beeswax.Server.serveBeeswax(Server.java:277)
    at com.cloudera.beeswax.Server.main(Server.java:214)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    Also whenever we want to start the hive thrift server ( $ hive --service
    hiveservices -p 10000 ) it will return error

    Exception in thread "main" java.lang.NoSuchMethodError:
    org.apache.thrift.server.TThreadPoolServer.<init>(Lorg/apache/thrift/server/TThreadPoolServer$Args;)V
    at
    org.apache.hadoop.hive.service.HiveServer.main(HiveServer.java:685)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    at java.lang.reflect.Method.invoke(Method.java:601)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:208)

    I am attaching the detail log file. Can any one help us to resolve the
    issue?

    Thanks & regards
    Arindam Mitra
    Bridgetree Consultancy Pvt Ltd.
    Kolkata-700156, India.
    Mobile No:-8296042823
    Email: amitra@bridgetree.com
    Contact us: www.bridgetree.com<https://exch.bridgetree.com/owa/redir.aspx?C=b715bd78fc3a4afbab1287aeba07a704&URL=http%3a%2f%2fwww.bridgetree.com>


    --
    Arindam Mitra
    Mob. +91 033 9836873106

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedMar 15, '13 at 7:40a
activeMar 15, '13 at 4:09p
posts2
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Arindam Mitra: 1 post Romain Rigaux: 1 post

People

Translate

site design / logo © 2022 Grokbase