hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Allen Wittenauer (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-3063) NameNode should validate all coming file path
Date Thu, 12 Mar 2015 01:59:38 GMT

     [ https://issues.apache.org/jira/browse/HDFS-3063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Allen Wittenauer updated HDFS-3063:
    Resolution: Fixed
        Status: Resolved  (was: Patch Available)

This is likely a stale issue. Closing.  Reopen if you feel otherwise.

> NameNode should validate all coming file path
> ---------------------------------------------
>                 Key: HDFS-3063
>                 URL: https://issues.apache.org/jira/browse/HDFS-3063
>             Project: Hadoop HDFS
>          Issue Type: Improvement
>          Components: namenode
>    Affects Versions:
>            Reporter: Denny Ye
>            Priority: Minor
>              Labels: namenode
>         Attachments: HDFS-3063.patch
> NameNode provides RPC service for not only DFS client but also user defined program.
A common case we always met is that user transfers file path prefixed with HDFS protocol("hdfs://{namenode:{port}}/{folder}/{file}").
NameNode cannot map node meta-data with this path and always throw NPE. In user client, we
only see the NullPointerException, no other tips for which step it occurs. 
> Also, NameNode should validate all coming file path with regular format.
> One exception I met:
> Exception in thread "main" org.apache.hadoop.ipc.RemoteException: java.io.IOException:
> 	at org.apache.hadoop.hdfs.server.namenode.INode.getPathComponents(INode.java:334)
> 	at org.apache.hadoop.hdfs.server.namenode.INode.getPathComponents(INode.java:329)

This message was sent by Atlassian JIRA

View raw message