falcon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Balu Vellanki (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (FALCON-1880) To support TDE encryption : Add --skipcrccheck to distcp options for HiveDR
Date Thu, 31 Mar 2016 22:24:25 GMT

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

Balu Vellanki updated FALCON-1880:
----------------------------------
    Description: 
when using Distcp to copy the file from one Encyption to another Encryption, and it is failing
with the following error:
{code}
Caused by: java.io.IO Exception : Check-sum mismatch between hdfs://hostname:8020/user/hrt_qa/examples/input-data/text/data.txt
and hdfs://hostname:8020/user/hrt_qa/examples/output-data/distcp/.distcp.tmp.attempt_1455730127943_0180_m_000000_3.
at org.apache.hadoop.tools.mapred.RetriableFileCopyCommand.compareCheckSums(RetriableFileCopyCommand.java:210)
at org.apache.hadoop.tools.mapred.RetriableFileCopyCommand.doCopy(RetriableFileCopyCommand.java:130)
at org.apache.hadoop.tools.mapred.RetriableFileCopyCommand.doExecute(RetriableFileCopyCommand.java:99)
at org.apache.hadoop.tools.util.RetriableCommand.execute(RetriableCommand.java:87)
... 11 more
{code}

By adding the parameters for Distcp "-skipcrccheck" and "-update" , the distcp passes. The
following doc explains why :
http://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-hdfs/TransparentEncryption.html#a-skipcrccheck

  was:
when using Distcp to copy the file from one Encyption to another Encryption, and it is failing
with the following error:
{code}
Caused by: java.io.IO Exception : Check-sum mismatch between hdfs://hostname:8020/user/hrt_qa/examples/input-data/text/data.txt
and hdfs://hostname:8020/user/hrt_qa/examples/output-data/distcp/.distcp.tmp.attempt_1455730127943_0180_m_000000_3.
at org.apache.hadoop.tools.mapred.RetriableFileCopyCommand.compareCheckSums(RetriableFileCopyCommand.java:210)
at org.apache.hadoop.tools.mapred.RetriableFileCopyCommand.doCopy(RetriableFileCopyCommand.java:130)
at org.apache.hadoop.tools.mapred.RetriableFileCopyCommand.doExecute(RetriableFileCopyCommand.java:99)
at org.apache.hadoop.tools.util.RetriableCommand.execute(RetriableCommand.java:87)
... 11 more

By adding the parameters for Distcp "-skipcrccheck" and "-update" , the distcp passes. The
following doc explains why :
http://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-hdfs/TransparentEncryption.html#a-skipcrccheck


> To support TDE encryption : Add --skipcrccheck to distcp options for HiveDR
> ---------------------------------------------------------------------------
>
>                 Key: FALCON-1880
>                 URL: https://issues.apache.org/jira/browse/FALCON-1880
>             Project: Falcon
>          Issue Type: Bug
>          Components: replication
>    Affects Versions: 0.9
>            Reporter: Balu Vellanki
>            Assignee: Balu Vellanki
>             Fix For: 0.10
>
>
> when using Distcp to copy the file from one Encyption to another Encryption, and it is
failing with the following error:
> {code}
> Caused by: java.io.IO Exception : Check-sum mismatch between hdfs://hostname:8020/user/hrt_qa/examples/input-data/text/data.txt
and hdfs://hostname:8020/user/hrt_qa/examples/output-data/distcp/.distcp.tmp.attempt_1455730127943_0180_m_000000_3.
> at org.apache.hadoop.tools.mapred.RetriableFileCopyCommand.compareCheckSums(RetriableFileCopyCommand.java:210)
> at org.apache.hadoop.tools.mapred.RetriableFileCopyCommand.doCopy(RetriableFileCopyCommand.java:130)
> at org.apache.hadoop.tools.mapred.RetriableFileCopyCommand.doExecute(RetriableFileCopyCommand.java:99)
> at org.apache.hadoop.tools.util.RetriableCommand.execute(RetriableCommand.java:87)
> ... 11 more
> {code}
> By adding the parameters for Distcp "-skipcrccheck" and "-update" , the distcp passes.
The following doc explains why :
> http://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-hdfs/TransparentEncryption.html#a-skipcrccheck



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

Mime
View raw message