You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "Peter Slawski (JIRA)" <ji...@apache.org> on 2015/03/20 23:05:38 UTC

[jira] [Updated] (BIGTOP-1763) Handle broken symlinks when copying jars

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

Peter Slawski updated BIGTOP-1763:
----------------------------------
    Summary: Handle broken symlinks when copying jars  (was: Handle broken symlinks when copying jars in init-hcfs.groovy )

> Handle broken symlinks when copying jars
> ----------------------------------------
>
>                 Key: BIGTOP-1763
>                 URL: https://issues.apache.org/jira/browse/BIGTOP-1763
>             Project: Bigtop
>          Issue Type: Bug
>          Components: deployment
>    Affects Versions: 0.9.0, 1.0.0
>            Reporter: Peter Slawski
>            Assignee: Peter Slawski
>            Priority: Critical
>             Fix For: 1.0.0
>
>         Attachments: BIGTOP-1763.1.patch
>
>
> When Hive is installed on a cluster and HBase isn't, init-hcfs.groovy will fail copying jars to HDFS for Oozie during puppet apply. This is because of a broken simlink in */usr/lib/hive/lib*, namely *hbase.jar* which links to */usr/lib/hbase/hbase.jar*.
> This is introduced by [BIGTOP-1235| https://issues.apache.org/jira/browse/BIGTOP-1235].
> The exception thrown in init-hcfs.groovy:
> {code}
> java.io.FileNotFoundException: File /usr/lib/hive/lib/hbase.jar does not exist
>   at org.apache.hadoop.fs.RawLocalFileSystem.deprecatedGetFileStatus(RawLocalFileSystem.java:516)
>   at org.apache.hadoop.fs.RawLocalFileSystem.getFileLinkStatusInternal(RawLocalFileSystem.java:729)
>   at org.apache.hadoop.fs.RawLocalFileSystem.getFileStatus(RawLocalFileSystem.java:506)
>   at org.apache.hadoop.fs.FilterFileSystem.getFileStatus(FilterFileSystem.java:407)
>   at org.apache.hadoop.fs.FileUtil.copy(FileUtil.java:337)
>   at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1951)
>   at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1919)
>   at org.apache.hadoop.fs.FileSystem.copyFromLocalFile(FileSystem.java:1884)
>   at org.apache.hadoop.fs.FileSystem$copyFromLocalFile$1.call(Unknown Source)
>   at init-hcfs$_run_closure7_closure8.doCall(init-hcfs.groovy:258)
>   at init-hcfs$_run_closure7.doCall(init-hcfs.groovy:252)
>   at init-hcfs.run(init-hcfs.groovy:281)
> {code}



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