hadoop-hdfs-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Anu Engineer (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (HDDS-276) Fix symbolic link creation during Ozone dist process
Date Fri, 27 Jul 2018 13:33:00 GMT

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

Anu Engineer commented on HDDS-276:
-----------------------------------

[~aw] Thanks for pointing this issue out. Are you okay with perusing a solution in  HDDS-280?
if so, I will go ahead and commit this patch and wait for a proper resolution of this issue
in HDDS-280. I will without hold committing this till end of the day to make sure everyone
gets time to see this comment. Thanks.


> Fix symbolic link creation during Ozone dist process
> ----------------------------------------------------
>
>                 Key: HDDS-276
>                 URL: https://issues.apache.org/jira/browse/HDDS-276
>             Project: Hadoop Distributed Data Store
>          Issue Type: Bug
>    Affects Versions: 0.2.1
>            Reporter: Elek, Marton
>            Assignee: Elek, Marton
>            Priority: Minor
>             Fix For: 0.2.1
>
>         Attachments: HDDS-276.001.patch
>
>
> Ozone is creating a symlink during the dist process.
> Using the "ozone" directory as a destination name all the docker-based acceptance tests
and docker-compose files are more simple as they don't need to have the version information
in the path.
> But to keep the version specific folder name in the tar file we create a symbolic link
during the tar creation. With the symbolic link and the '–dereference' tar argument we can
create the tar file which includes a versioned directory (ozone-0.2.1) but we can use the
a dist directory without the version in the name (hadoop-dist/target/ozone).
> Currently this symlink creation has an issue. It couldn't be run twice. You need to do
a 'mvn clean' before you can create a new dist.
> But fortunately this could be fixed easily by checking if the destination symlink exists.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-issues-help@hadoop.apache.org


Mime
View raw message