-
Notifications
You must be signed in to change notification settings - Fork 38
Closed
Description
On a Ubuntu server, I decided to download the plugin by using wget rather than using git clone. Building the plugin went fine, but when I tried to use it with my GlusterFS-Hadoop install, the following error occurred:
hadoop@gluster1:/usr/local/hadoop/bin$ ./hdfs dfs -ls
14/05/15 10:15:14 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
14/05/15 10:15:14 INFO glusterfs.GlusterVolume: Initializing gluster volume..
14/05/15 10:15:14 INFO glusterfs.GlusterFileSystem: Configuring GlusterFS
-ls: Fatal internal error
java.lang.RuntimeException: java.lang.reflect.InvocationTargetException
at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:131)
at org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2315)
at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:90)
at org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2350)
at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2332)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:369)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:168)
at org.apache.hadoop.fs.FileSystem.get(FileSystem.java:353)
at org.apache.hadoop.fs.Path.getFileSystem(Path.java:296)
at org.apache.hadoop.fs.shell.PathData.expandAsGlob(PathData.java:325)
at org.apache.hadoop.fs.shell.Command.expandArgument(Command.java:224)
at org.apache.hadoop.fs.shell.Command.expandArguments(Command.java:207)
at org.apache.hadoop.fs.shell.Command.processRawArguments(Command.java:190)
at org.apache.hadoop.fs.shell.Command.run(Command.java:154)
at org.apache.hadoop.fs.FsShell.run(FsShell.java:255)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:84)
at org.apache.hadoop.fs.FsShell.main(FsShell.java:308)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
at org.apache.hadoop.util.ReflectionUtils.newInstance(ReflectionUtils.java:129)
... 17 more
Caused by: java.lang.RuntimeException: Couldn't find git properties for version info null
at org.apache.hadoop.fs.glusterfs.Version.<init>(Version.java:19)
at org.apache.hadoop.fs.glusterfs.GlusterFileSystem.<init>(GlusterFileSystem.java:50)
... 22 more
Installing git and cloning the repository solved this problem. It seems to be dependent on the .git info in the repository and not Git itself, since uninstalling Git and rebuilding it caused no problems either.
Metadata
Metadata
Assignees
Labels
No labels