You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Harsh J (JIRA)" <ji...@apache.org> on 2012/09/22 22:26:08 UTC

[jira] [Commented] (HADOOP-7418) support for multiple slashes in the path separator

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

Harsh J commented on HADOOP-7418:
---------------------------------

Seems to still exist, though I'm unsure what exactly its trying to do:

{code}
➜  branch-2  hadoop fs -ls //user//harshchouraria/  
12/09/23 01:53:32 DEBUG lib.MutableMetricsFactory: field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.loginSuccess with annotation @org.apache.hadoop.metrics2.annotation.Metric(valueName=Time, about=, value=[Rate of successful kerberos logins and latency (milliseconds)], always=false, type=DEFAULT, sampleName=Ops)
12/09/23 01:53:32 DEBUG lib.MutableMetricsFactory: field org.apache.hadoop.metrics2.lib.MutableRate org.apache.hadoop.security.UserGroupInformation$UgiMetrics.loginFailure with annotation @org.apache.hadoop.metrics2.annotation.Metric(valueName=Time, about=, value=[Rate of failed kerberos logins and latency (milliseconds)], always=false, type=DEFAULT, sampleName=Ops)
12/09/23 01:53:33 DEBUG impl.MetricsSystemImpl: UgiMetrics, User and group related metrics
12/09/23 01:53:33 DEBUG util.KerberosName: Kerberos krb5 configuration not found, setting default realm to empty
12/09/23 01:53:33 DEBUG security.Groups:  Creating new Groups object
12/09/23 01:53:33 DEBUG security.Groups: Group mapping impl=org.apache.hadoop.security.ShellBasedUnixGroupsMapping; cacheTimeout=300000
2012-09-23 01:53:33.084 java[19004:1903] Unable to load realm info from SCDynamicStore
12/09/23 01:53:33 DEBUG security.UserGroupInformation: hadoop login
12/09/23 01:53:33 DEBUG security.UserGroupInformation: hadoop login commit
12/09/23 01:53:33 DEBUG security.UserGroupInformation: using local user:UnixPrincipal: harshchouraria
12/09/23 01:53:33 DEBUG security.UserGroupInformation: UGI loginUser:harshchouraria (auth:SIMPLE)
12/09/23 01:53:33 DEBUG ipc.Server: rpcKind=RPC_PROTOCOL_BUFFER, rpcRequestWrapperClass=class org.apache.hadoop.ipc.ProtobufRpcEngine$RpcRequestWritable, rpcInvoker=org.apache.hadoop.ipc.ProtobufRpcEngine$Server$ProtoBufRpcInvoker@3ff2cea2
12/09/23 01:53:33 DEBUG hdfs.DFSClient: Short circuit read is false
12/09/23 01:53:33 DEBUG ipc.Client: The ping interval is 60000 ms.
12/09/23 01:53:33 DEBUG ipc.Client: Use SIMPLE authentication for protocol ClientNamenodeProtocolPB
12/09/23 01:53:33 DEBUG ipc.Client: Connecting to localhost/127.0.0.1:8020
12/09/23 01:53:33 DEBUG ipc.Client: IPC Client (371838604) connection to localhost/127.0.0.1:8020 from harshchouraria sending #0
12/09/23 01:53:33 DEBUG ipc.Client: IPC Client (371838604) connection to localhost/127.0.0.1:8020 from harshchouraria: starting, having connections 1
12/09/23 01:53:33 DEBUG ipc.Client: IPC Client (371838604) connection to localhost/127.0.0.1:8020 from harshchouraria got value #0
12/09/23 01:53:33 DEBUG ipc.ProtobufRpcEngine: Call: getFileInfo 69
ls: `//user//harshchouraria/': No such file or directory
12/09/23 01:53:33 DEBUG ipc.Client: Stopping client
12/09/23 01:53:33 DEBUG ipc.Client: IPC Client (371838604) connection to localhost/127.0.0.1:8020 from harshchouraria: closed
12/09/23 01:53:33 DEBUG ipc.Client: IPC Client (371838604) connection to localhost/127.0.0.1:8020 from harshchouraria: stopped, remaining connections 0
{code}

The error isn't as bad as the one reported earlier though, I think.
                
> support for multiple slashes in the path separator
> --------------------------------------------------
>
>                 Key: HADOOP-7418
>                 URL: https://issues.apache.org/jira/browse/HADOOP-7418
>             Project: Hadoop Common
>          Issue Type: Bug
>    Affects Versions: 0.23.0
>         Environment: Linux running JDK 1.6
>            Reporter: Sudharsan Sampath
>            Assignee: Andrew Look
>            Priority: Minor
>              Labels: newbie
>         Attachments: HADOOP-7418--20110719.txt, HADOOP-7418.txt, HADOOP-7418.txt, HDFS-1460.txt, HDFS-1460.txt
>
>
> the parsing of the input path string to identify the uri authority conflicts with the file system paths. For instance the following is a valid path in both the linux file system and the hdfs.
> //user/directory1//directory2.
> While this works perfectly fine in the command line for manipulating hdfs, the same fails when specified as the input path for a mapper class with the following expcetion.
> Exception in thread "main" java.net.UnknownHostException: unknown host: user
>         at org.apache.hadoop.ipc.Client$Connection.<init>(Client.java:195)
> as the org.apache.hadoop.fs.Path class assumes the string that follows the '//' to be an uri authority

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira