You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@commons.apache.org by gg...@apache.org on 2013/11/28 04:41:46 UTC
svn commit: r1546269 -
/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/hdfs/HdfsFileSystem.java
Author: ggregory
Date: Thu Nov 28 03:41:45 2013
New Revision: 1546269
URL: http://svn.apache.org/r1546269
Log:
Use simple name for org.apache.hadoop.fs.FileSystem instead of FQN.
Modified:
commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/hdfs/HdfsFileSystem.java
Modified: commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/hdfs/HdfsFileSystem.java
URL: http://svn.apache.org/viewvc/commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/hdfs/HdfsFileSystem.java?rev=1546269&r1=1546268&r2=1546269&view=diff
==============================================================================
--- commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/hdfs/HdfsFileSystem.java (original)
+++ commons/proper/vfs/trunk/core/src/main/java/org/apache/commons/vfs2/provider/hdfs/HdfsFileSystem.java Thu Nov 28 03:41:45 2013
@@ -107,11 +107,11 @@ public class HdfsFileSystem extends Abst
{
final String hdfsUri = name.getRootURI();
final Configuration conf = new Configuration(true);
- conf.set(org.apache.hadoop.fs.FileSystem.FS_DEFAULT_NAME_KEY, hdfsUri);
+ conf.set(FileSystem.FS_DEFAULT_NAME_KEY, hdfsUri);
this.fs = null;
try
{
- fs = org.apache.hadoop.fs.FileSystem.get(conf);
+ fs = FileSystem.get(conf);
}
catch (final IOException e)
{