You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-issues@hadoop.apache.org by "Yesha Vora (JIRA)" <ji...@apache.org> on 2014/02/06 01:44:09 UTC

[jira] [Created] (HDFS-5893) hsftp cat | copyToLocal | get operations fail with 'PKIX path building failed'

Yesha Vora created HDFS-5893:
--------------------------------

             Summary: hsftp cat | copyToLocal | get operations fail with 'PKIX path building failed'
                 Key: HDFS-5893
                 URL: https://issues.apache.org/jira/browse/HDFS-5893
             Project: Hadoop HDFS
          Issue Type: Bug
            Reporter: Yesha Vora


set dfs.http.policy=HTTPS_ONLY.
And do cat | copyToLocal | get operation on HDFS data using hsftp://NN:NN_HTTPS_PORT.
These operation fails with 'PKIX path building failed' error

RUNNING: hdfs dfs -cat hsftp://NN:NN_HTTPS_PORT/tmp/testfile
cat: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

-------------
RUNNING: hdfs dfs -copyToLocal hsftp://NN:NN_HTTPS_PORT/tmp/TestFile /etc/tmp/data/file1
copyToLocal: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target

-------------
RUNNING: hdfs dfs -get hsftp://NN:NN_HTTPS_PORT/tmp/TestFile /etc/tmp/data/file1
get: sun.security.validator.ValidatorException: PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)