FAQ
Hello All!
I have problem with starting beeswax_server using cloudera manager. When I
try to start it I get error:

Supervisor returned FATAL: + perl -pi -e
's#{{HUE_CONF_DIR}}#/var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER#g'
/var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER/hue.ini
/var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER/hue_safety_valve.ini

+ [[ -n
/var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER/hbase-conf ]]

+ perl -pi -e
's#{{HBASE_CONF_DIR}}#/var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER/hbase-conf#g'
/var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER/hue.ini
/var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER/hue_safety_valve.ini

+ '[' 4 = 3 ']'

+ [[ beeswax_server == beeswax_server ]]

+ echo Copying hive-default.xml to
/var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER/hive-conf

+ cp -v /usr/lib/hive/conf/hive-default.xml
/var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER/hive-conf

+ HUE=/usr/share/hue/build/env/bin/hue

+ echo Executing /usr/share/hue/build/env/bin/hue beeswax_server

+ exec /usr/share/hue/build/env/bin/hue beeswax_server

12/10/03 15:08:25 INFO beeswax.Server: Starting metastore at port 8003

12/10/03 15:08:25 INFO beeswax.Server: Starting beeswaxd at port 8002

Exception in thread "main" org.apache.thrift.transport.TTransportException:
Could not create ServerSocket on address 0.0.0.0/0.0.0.0:8002.

at
org.apache.thrift.transport.TServerSocket.(TServerSocket.java:80)

at
org.apache.thrift.transport.TServerSocket.(Server.java:257)

at com.cloudera.beeswax.Server.main(Server.java:221)

at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at java.lang.reflect.Method.invoke(Method.java:597)
at org.apache.hadoop.util.RunJar.main(RunJar.java:197)


I had some problems with starting NameNode and SecondaryNameNode because on
theirs ports was other processes.
I kill those processes and NameNode and SecondaryName node has started
properly. I tried to do same operation for port 8002 but
it didn't help. Do You have any solution to my problem?

Greetings!

Search Discussions

  • Philip Zeyliger at Oct 3, 2012 at 4:06 pm
    Hi Andy,

    Some process is listening on 8002. On my machine, I would run the
    following to look for processes on port 80:

    [0]cairn::~(404333)$sudo lsof -i -n -P | grep -i :80
    apache2 1259 root 4u IPv6 10190 0t0 TCP *:80 (LISTEN)
    apache2 3067 www-data 4u IPv6 10190 0t0 TCP *:80 (LISTEN)
    apache2 3096 www-data 4u IPv6 10190 0t0 TCP *:80 (LISTEN)
    dropbox 5105 philip 31u IPv4 15736923 0t0 TCP
    192.168.11.42:38885->199.47.217.147:80 (ESTABLISHED)
    chrome 14177 philip 245u IPv4 15743746 0t0 TCP
    192.168.11.42:39732->64.34.119.101:80 (ESTABLISHED)

    Do the same with 8002 and look if someone is on the process. You can also
    change the port number in Cloudera Manager to something different and see
    if that helps.

    -- Philip
    On Wed, Oct 3, 2012 at 8:29 AM, AndyW wrote:

    Hello All!
    I have problem with starting beeswax_server using cloudera manager. When I
    try to start it I get error:

    Supervisor returned FATAL: + perl -pi -e
    's#{{HUE_CONF_DIR}}#/var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER#g'
    /var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER/hue.ini
    /var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER/hue_safety_valve.ini

    + [[ -n
    /var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER/hbase-conf ]]

    + perl -pi -e
    's#{{HBASE_CONF_DIR}}#/var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER/hbase-conf#g'
    /var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER/hue.ini
    /var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER/hue_safety_valve.ini

    + '[' 4 = 3 ']'

    + [[ beeswax_server == beeswax_server ]]

    + echo Copying hive-default.xml to
    /var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER/hive-conf

    + cp -v /usr/lib/hive/conf/hive-default.xml
    /var/run/cloudera-scm-agent/process/333-hue-BEESWAX_SERVER/hive-conf

    + HUE=/usr/share/hue/build/env/bin/hue

    + echo Executing /usr/share/hue/build/env/bin/hue beeswax_server

    + exec /usr/share/hue/build/env/bin/hue beeswax_server

    12/10/03 15:08:25 INFO beeswax.Server: Starting metastore at port 8003

    12/10/03 15:08:25 INFO beeswax.Server: Starting beeswaxd at port 8002

    Exception in thread "main"
    org.apache.thrift.transport.TTransportException: Could not create
    ServerSocket on address 0.0.0.0/0.0.0.0:8002.

    at
    org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:99)

    at
    org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:80)

    at
    org.apache.thrift.transport.TServerSocket.<init>(TServerSocket.java:73)

    at com.cloudera.beeswax.Server.serveBeeswax(Server.java:257)

    at com.cloudera.beeswax.Server.main(Server.java:221)

    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

    at
    sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

    at
    sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

    at java.lang.reflect.Method.invoke(Method.java:597)
    at org.apache.hadoop.util.RunJar.main(RunJar.java:197)


    I had some problems with starting NameNode and SecondaryNameNode because
    on theirs ports was other processes.
    I kill those processes and NameNode and SecondaryName node has started
    properly. I tried to do same operation for port 8002 but
    it didn't help. Do You have any solution to my problem?

    Greetings!

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupscm-users @
categorieshadoop
postedOct 3, '12 at 3:29p
activeOct 3, '12 at 4:06p
posts2
users2
websitecloudera.com
irc#hadoop

2 users in discussion

Philip Zeyliger: 1 post AndyW: 1 post

People

Translate

site design / logo © 2022 Grokbase