[ 
https://issues.apache.org/jira/browse/HDFS-5436?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13814339#comment-13814339
 ] 

Sandy Ryza commented on HDFS-5436:
----------------------------------

This appears to be causing the following when I try to set up a 
pseudo-distributed cluster.  Any idea why?

{code}
java.util.ServiceConfigurationError: org.apache.hadoop.fs.FileSystem: Provider 
org.apache.hadoop.hdfs.HftpFileSystem not found
        at java.util.ServiceLoader.fail(ServiceLoader.java:214)
        at java.util.ServiceLoader.access$400(ServiceLoader.java:164)
        at java.util.ServiceLoader$LazyIterator.next(ServiceLoader.java:350)
        at java.util.ServiceLoader$1.next(ServiceLoader.java:421)
        at org.apache.hadoop.fs.FileSystem.loadFileSystems(FileSystem.java:2282)
        at 
org.apache.hadoop.fs.FileSystem.getFileSystemClass(FileSystem.java:2293)
        at 
org.apache.hadoop.fs.FileSystem.createFileSystem(FileSystem.java:2310)
        at org.apache.hadoop.fs.FileSystem.access$200(FileSystem.java:90)
        at 
org.apache.hadoop.fs.FileSystem$Cache.getInternal(FileSystem.java:2349)
        at org.apache.hadoop.fs.FileSystem$Cache.get(FileSystem.java:2331)
        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.mapreduce.lib.input.FileInputFormat.setInputPaths(FileInputFormat.java:446)
        at 
org.apache.hadoop.examples.QuasiMonteCarlo.estimatePi(QuasiMonteCarlo.java:274)
        at 
org.apache.hadoop.examples.QuasiMonteCarlo.run(QuasiMonteCarlo.java:354)
        at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
        at 
org.apache.hadoop.examples.QuasiMonteCarlo.main(QuasiMonteCarlo.java:363)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at 
org.apache.hadoop.util.ProgramDriver$ProgramDescription.invoke(ProgramDriver.java:72)
        at org.apache.hadoop.util.ProgramDriver.run(ProgramDriver.java:144)
        at org.apache.hadoop.examples.ExampleDriver.main(ExampleDriver.java:74)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:597)
        at org.apache.hadoop.util.RunJar.main(RunJar.java:212)
{code}

Also, the old package name is still referred to in 
./hadoop-hdfs-project/hadoop-hdfs/src/site/apt/Hftp.apt.vm and 
./hadoop-mapreduce-project/hadoop-mapreduce-client/hadoop-mapreduce-client-hs/src/test/resources/job_1329348432655_0001_conf.xml.

> Move HsFtpFileSystem and HFtpFileSystem into org.apache.hdfs.web
> ----------------------------------------------------------------
>
>                 Key: HDFS-5436
>                 URL: https://issues.apache.org/jira/browse/HDFS-5436
>             Project: Hadoop HDFS
>          Issue Type: Sub-task
>            Reporter: Haohui Mai
>            Assignee: Haohui Mai
>             Fix For: 2.3.0
>
>         Attachments: HDFS-5436.000.patch, HDFS-5436.001.patch, 
> HDFS-5436.002.patch
>
>
> Currently HsftpFilesystem, HftpFileSystem and WebHdfsFileSystem reside in 
> different packages. This force several methods in ByteInputStream and 
> URLConnectionFactory to be public methods.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to