You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@falcon.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/07/30 00:14:20 UTC

[jira] [Commented] (FALCON-2028) HDFS extension: Validate and append/remove the scheme://authority for the paths

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

ASF GitHub Bot commented on FALCON-2028:
----------------------------------------

GitHub user sowmyaramesh opened a pull request:

    https://github.com/apache/falcon/pull/248

    FALCON-2028 HDFS extension: Validate and append/remove the scheme://authority for the paths

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sowmyaramesh/falcon FALCON-2028_1

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/falcon/pull/248.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #248
    
----
commit 6b172ffe7c25632e158dbc52da21274591921754
Author: Sowmya Ramesh <sr...@hortonworks.com>
Date:   2016-07-30T00:12:30Z

    FALCON-2028 HDFS extension: Validate and append/remove the scheme://authority for the paths

----


> HDFS extension: Validate and append/remove the scheme://authority for the paths
> -------------------------------------------------------------------------------
>
>                 Key: FALCON-2028
>                 URL: https://issues.apache.org/jira/browse/FALCON-2028
>             Project: Falcon
>          Issue Type: Bug
>            Reporter: Sowmya Ramesh
>            Assignee: Sowmya Ramesh
>             Fix For: trunk
>
>
> In hdfs-mirroring-workflow.xml target EP is added only for target dir.
> {noformat}
> <arg>-sourcePaths</arg>
> <arg>${sourceDir}</arg>
> <arg>-targetPath</arg>
> <arg>${targetClusterFS}${targetDir}</arg>
> {noformat}
> in the req, if sourceDir is not sent as fully qualified paths then extension should generate fully qualified paths before submitting the process. For targetDir if passed it should be removed.
> e.g.
> {noformat}
> sourceDir=/user/ambari-qaqa/dr/test/primaryCluster/input1, /user/ambari-qaqa/dr/test/primaryCluster/input2
> After processing:
> sourceDir=hdfs://240.0.0.10:8020/user/ambari-qaqa/dr/test/primaryCluster/input1, hdfs://240.0.0.10:8020/user/ambari-qaqa/dr/test/primaryCluster/input2
> {noformat}
> Also, if user has already specified the fully qualified path then it should not be added for sourceDir but it should be removed for targetDir
> {noformat}
> sourceDir=hdfs://240.0.0.10:8020/user/ambari-qa/dr/test/primaryCluster/input1, hdfs://240.0.0.10:8020/user/ambari-qa/dr/test/primaryCluster/input2
> After processing:
> sourceDir=hdfs://240.0.0.10:8020/user/ambari-qa/dr/test/primaryCluster/input1, hdfs://240.0.0.10:8020/user/ambari-qa/dr/test/primaryCluster/input2
> ================================================================
> targetDir=hdfs://240.0.0.11:8020/user/ambari-qa/dr/test/backupCluster/outputs
> After processing:
> targetDir=/user/ambari-qa/dr/test/backupCluster/outputs
> {noformat}



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