org.apache.pig.backend.executionengine.ExecException: Failed to create DataStorage

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

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, 1 year 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
org.apache.pig.backend.executionengine.ExecException: Failed to create DataStorage
at org.apache.hadoop.ipc.Client.call(Client.java:484)
at org.apache.hadoop.dfs.$Proxy0.getProtocolVersion(Unknown Source)
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)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.