org.apache.pig.backend.executionengine.ExecException

Failed to create DataStorage

Samebug tips9

Check if your MongoDB is available.


host port isnt set

Don't give up yet. Our experts can help. Paste your full stack trace to get a solution.

Solutions on the web124

  • via hadoop-pig-user by Travis Brady, 9 months ago
    Failed to create DataStorage
  • via hadoop-pig-user by Travis Brady, 9 months ago
    Failed to create DataStorage
  • via hadoop-pig-user by Stefan Groschupf, 9 months ago
    Failed to create DataStorage at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init( HExecutionEngine.java:143)
  • Stack trace

    • org.apache.pig.backend.executionengine.ExecException: Failed to create DataStorage at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:143) at org.apache.pig.impl.PigContext.connect(PigContext.java:182) at org.apache.pig.PigServer.<init>(PigServer.java:123) at org.apache.pig.tools.grunt.Grunt.<init>(Grunt.java:37) at org.apache.pig.Main.main(Main.java:245) Caused by: 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.<init>(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.<init>(HDataStorage.java:36) at org.apache.pig.backend.hadoop.executionengine.HExecutionEngine.init(HExecutionEngine.java:140) ... 4 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    8 times, 6 hours ago
    13 times, 6 days ago
    39 times, 1 week ago
    Once, 3 weeks ago
    13 times, 3 weeks ago
    483 more bugmates