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/19 00:30:39 UTC
[jira] [Assigned] (BIGTOP-1763) Handle broken symlinks when copying
jars in init-hcfs.groovy
[ https://issues.apache.org/jira/browse/BIGTOP-1763?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Peter Slawski reassigned BIGTOP-1763:
-------------------------------------
Assignee: Peter Slawski
> Handle broken symlinks when copying jars in init-hcfs.groovy
> -------------------------------------------------------------
>
> Key: BIGTOP-1763
> URL: https://issues.apache.org/jira/browse/BIGTOP-1763
> Project: Bigtop
> Issue Type: Bug
> Affects Versions: 0.9.0
> Reporter: Peter Slawski
> Assignee: Peter Slawski
> Priority: Critical
>
> 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)