Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Samebug tips

  1. ,

    Check if your MongoDB is available.

  2. ,
    via GitHub by rawlingsj

    host port isnt set

Solutions on the web

via hadoop-pig-user by Travis Brady, 1 year ago
Failed to create DataStorage
via hadoop-pig-user by Travis Brady, 1 year ago
Failed to create DataStorage
via Stack Overflow by Philippe
, 2 years ago
ERROR 4010: Cannot find hadoop configurations in classpath (neither hadoop-site.xml nor core-site.xml was found in the classpath). If you plan to use local mode, please put -x local option in command line
via apache.org by Unknown author, 2 years ago
ERROR 4010: Cannot find hadoop configurations in classpath (neither hadoop-site.xml nor core-site.xml was found in the classpath).If you plan to use local mode, please put -x local option in command line
java.net.ConnectException: Connection refused	at java.net.PlainSocketImpl.socketConnect(Native Method)	at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)	at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)	at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)	at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:432)	at java.net.Socket.connect(Socket.java:520)	at org.apache.hadoop.ipc.Client$Connection.setupIOstreams(Client.java:152)	at org.apache.hadoop.ipc.Client.getConnection(Client.java:542)	at org.apache.hadoop.ipc.Client.call(Client.java:471)	at org.apache.hadoop.ipc.RPC$Invoker.invoke(RPC.java:184)	at org.apache.hadoop.dfs.$Proxy0.getProtocolVersion(Unknown Source)	at org.apache.hadoop.ipc.RPC.getProxy(RPC.java:269)	at org.apache.hadoop.dfs.DFSClient.createNamenode(DFSClient.java:147)	at org.apache.hadoop.dfs.DFSClient.(DFSClient.java:161)	at org.apache.hadoop.dfs.DistributedFileSystem.initialize(DistributedFileSystem.java:65)	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:159)	at org.apache.hadoop.fs.FileSystem.getNamed(FileSystem.java:118)	at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:90)	at org.apache.pig.backend.hadoop.datastorage.HDataStorage.(HDataStorage.java:36)	at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:140)	at org.apache.pig.impl.PigContext.connect(PigContext.java:182)	at org.apache.pig.PigServer.(PigServer.java:123)	at org.apache.pig.tools.grunt.Grunt.(Grunt.java:37)	at org.apache.pig.Main.main(Main.java:245)