Hello

I'm following the instructions on
http://cascalog.org/articles/getting_started.html, but I'm encountering an
error. I have set up Hadoop as pseudo-distributed mode and was able to run
example in hadoop. Could you help me to take a look what's wrong?

user=> (?- (stdout) sentence)
13/09/29 06:01:38 INFO util.HadoopUtil: using default application jar, may
cause class not found exceptions on the cluster
13/09/29 06:01:38 INFO planner.HadoopPlanner: using application jar:
/Users/gzhao/.m2/repository/cascading/cascading-hadoop/2.1.6/cascading-hadoop-2.1.6.jar
13/09/29 06:01:38 INFO hadoop.TupleSerialization: using default comparator:
cascalog.hadoop.DefaultComparator
13/09/29 06:01:38 INFO hadoop.TupleSerialization: using hadoop
serializations from the job conf:
cascading.tuple.hadoop.TupleSerialization,org.apache.hadoop.io.serializer.WritableSerialization,cascading.tuple.hadoop.BytesSerialization,cascalog.hadoop.ClojureKryoSerialization

13/09/29 06:01:38 INFO hadoop.TupleSerialization: adding serialization
token: 127, for classname: org.apache.hadoop.io.BytesWritable
13/09/29 06:01:38 INFO hadoop.TupleSerialization: adding serialization
token: 126, for classname: [B
13/09/29 06:01:38 INFO flow.Flow: [] starting
13/09/29 06:01:38 INFO flow.Flow: [] source:
MemorySourceTap["MemorySourceScheme[[UNKNOWN]->[ALL]]"]["/0328b385-c2e7-4aea-998e-9272bc397b57"]
13/09/29 06:01:38 INFO flow.Flow: [] sink:
StdoutTap["SequenceFile[[UNKNOWN]->[ALL]]"]["/var/folders/3p/l2d9ljnx7f99q8hmms3wpcg4ftc9n6/T/temp73496923445804046711380459698468258000"]
13/09/29 06:01:38 INFO flow.Flow: [] parallel execution is enabled: false
13/09/29 06:01:38 INFO flow.Flow: [] starting jobs: 1
13/09/29 06:01:38 INFO flow.Flow: [] allocating threads: 1
13/09/29 06:01:38 INFO flow.FlowStep: [] starting step: (1/1)
...4046711380459698468258000
13/09/29 06:01:38 INFO mapred.JobClient: Cleaning up the staging area
file:/tmp/hadoop-gzhao/mapred/staging/gzhao-45749235/.staging/job_local_0003
13/09/29 06:01:38 ERROR security.UserGroupInformation:
PriviledgedActionException as:gzhao cause:java.net.UnknownHostException:
C02KT47BFFT1.group.on: C02KT47BFFT1.group.on: nodename nor servname
provided, or not known
13/09/29 06:01:38 INFO flow.Flow: [] stopping all jobs
13/09/29 06:01:38 INFO flow.FlowStep: [] stopping: (1/1)
...4046711380459698468258000
13/09/29 06:01:38 INFO flow.Flow: [] stopped all jobs

UnknownHostException C02KT47BFFT1.group.on: nodename nor servname provided,
or not known java.net.Inet6AddressImpl.lookupAllHostAddr
(Inet6AddressImpl.java:-2)

Thanks
Gary

--
You received this message because you are subscribed to the Google Groups "cascalog-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to cascalog-user+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

Search Discussions

  • Gary Zhao at Sep 29, 2013 at 1:18 pm
    Looks like it's due to Java 1.7. I set JAVA_HOME to 1.6, then it worked.
    Thanks.
    On Sunday, September 29, 2013 6:03:22 AM UTC-7, Gary Zhao wrote:

    Hello

    I'm following the instructions on
    http://cascalog.org/articles/getting_started.html, but I'm encountering
    an error. I have set up Hadoop as pseudo-distributed mode and was able to
    run example in hadoop. Could you help me to take a look what's wrong?

    user=> (?- (stdout) sentence)
    13/09/29 06:01:38 INFO util.HadoopUtil: using default application jar, may
    cause class not found exceptions on the cluster
    13/09/29 06:01:38 INFO planner.HadoopPlanner: using application jar:
    /Users/gzhao/.m2/repository/cascading/cascading-hadoop/2.1.6/cascading-hadoop-2.1.6.jar
    13/09/29 06:01:38 INFO hadoop.TupleSerialization: using default
    comparator: cascalog.hadoop.DefaultComparator
    13/09/29 06:01:38 INFO hadoop.TupleSerialization: using hadoop
    serializations from the job conf:
    cascading.tuple.hadoop.TupleSerialization,org.apache.hadoop.io.serializer.WritableSerialization,cascading.tuple.hadoop.BytesSerialization,cascalog.hadoop.ClojureKryoSerialization

    13/09/29 06:01:38 INFO hadoop.TupleSerialization: adding serialization
    token: 127, for classname: org.apache.hadoop.io.BytesWritable
    13/09/29 06:01:38 INFO hadoop.TupleSerialization: adding serialization
    token: 126, for classname: [B
    13/09/29 06:01:38 INFO flow.Flow: [] starting
    13/09/29 06:01:38 INFO flow.Flow: [] source:
    MemorySourceTap["MemorySourceScheme[[UNKNOWN]->[ALL]]"]["/0328b385-c2e7-4aea-998e-9272bc397b57"]
    13/09/29 06:01:38 INFO flow.Flow: [] sink:
    StdoutTap["SequenceFile[[UNKNOWN]->[ALL]]"]["/var/folders/3p/l2d9ljnx7f99q8hmms3wpcg4ftc9n6/T/temp73496923445804046711380459698468258000"]
    13/09/29 06:01:38 INFO flow.Flow: [] parallel execution is enabled: false
    13/09/29 06:01:38 INFO flow.Flow: [] starting jobs: 1
    13/09/29 06:01:38 INFO flow.Flow: [] allocating threads: 1
    13/09/29 06:01:38 INFO flow.FlowStep: [] starting step: (1/1)
    ...4046711380459698468258000
    13/09/29 06:01:38 INFO mapred.JobClient: Cleaning up the staging area
    file:/tmp/hadoop-gzhao/mapred/staging/gzhao-45749235/.staging/job_local_0003
    13/09/29 06:01:38 ERROR security.UserGroupInformation:
    PriviledgedActionException as:gzhao cause:java.net.UnknownHostException:
    C02KT47BFFT1.group.on: C02KT47BFFT1.group.on: nodename nor servname
    provided, or not known
    13/09/29 06:01:38 INFO flow.Flow: [] stopping all jobs
    13/09/29 06:01:38 INFO flow.FlowStep: [] stopping: (1/1)
    ...4046711380459698468258000
    13/09/29 06:01:38 INFO flow.Flow: [] stopped all jobs

    UnknownHostException C02KT47BFFT1.group.on: nodename nor servname
    provided, or not known java.net.Inet6AddressImpl.lookupAllHostAddr
    (Inet6AddressImpl.java:-2)

    Thanks
    Gary
    --
    You received this message because you are subscribed to the Google Groups "cascalog-user" group.
    To unsubscribe from this group and stop receiving emails from it, send an email to cascalog-user+unsubscribe@googlegroups.com.
    For more options, visit https://groups.google.com/groups/opt_out.

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcascalog-user @
categoriesclojure, hadoop
postedSep 29, '13 at 1:03p
activeSep 29, '13 at 1:18p
posts2
users1
websiteclojure.org
irc#clojure

1 user in discussion

Gary Zhao: 2 posts

People

Translate

site design / logo © 2021 Grokbase