hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Surendra Singh Lilhore (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HDFS-9584) NPE in distcp when ssl configuration file does not exist in class path.
Date Thu, 24 Dec 2015 12:54:49 GMT

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

Surendra Singh Lilhore updated HDFS-9584:
-----------------------------------------
    Attachment: HDFS-9584.001.patch

> NPE in distcp when ssl configuration file does not exist in class path.
> -----------------------------------------------------------------------
>
>                 Key: HDFS-9584
>                 URL: https://issues.apache.org/jira/browse/HDFS-9584
>             Project: Hadoop HDFS
>          Issue Type: Bug
>          Components: distcp
>    Affects Versions: 2.7.1
>            Reporter: Surendra Singh Lilhore
>            Assignee: Surendra Singh Lilhore
>         Attachments: HDFS-9584.001.patch, HDFS-9584.patch, HDFS-9584.patch
>
>
> {noformat}./hadoop distcp -mapredSslConf ssl-distcp.xml hftp://x.x.x.x:25003/history
hdfs://x.x.x.X:25008/history{noformat}
> if {{ssl-distcp.xml}} file not exist in class path, distcp will throw NullPointerException.
> {code}
> java.lang.NullPointerException
>         at org.apache.hadoop.tools.DistCp.setupSSLConfig(DistCp.java:266)
>         at org.apache.hadoop.tools.DistCp.createJob(DistCp.java:250)
>         at org.apache.hadoop.tools.DistCp.createAndSubmitJob(DistCp.java:175)
>         at org.apache.hadoop.tools.DistCp.execute(DistCp.java:154)
>         at org.apache.hadoop.tools.DistCp.run(DistCp.java:127)
>         at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
>         at org.apache.hadoop.tools.DistCp.main(DistCp.java:431)
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message