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

Shwetha G S commented on OOZIE-1876:
------------------------------------

Yes, -D is the way to go. The build failed for me with hive version 1.2.0. 
Looks like ShimLoader.getHadoopShims().setTokenStr() interface has changed. How 
did it work for you?
{noformat}
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) 
on project oozie-core: Compilation failure
[ERROR] 
/Users/sshivalingamurthy/git/oozie/core/src/main/java/org/apache/oozie/dependency/HCatURIHandler.java:[273,47]
 error: cannot find symbol
[ERROR] -> [Help 1]
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.3.2:compile (default-compile) 
on project oozie-core: Compilation failure
/Users/sshivalingamurthy/git/oozie/core/src/main/java/org/apache/oozie/dependency/HCatURIHandler.java:[273,47]
 error: cannot find symbol

        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:212)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)
        at 
org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)
{noformat}

> use pom properties rather than specific version numbers in the pom files of 
> hbaselibs, hcataloglibs, sharelib, etc 
> -------------------------------------------------------------------------------------------------------------------
>
>                 Key: OOZIE-1876
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1876
>             Project: Oozie
>          Issue Type: Improvement
>          Components: build
>    Affects Versions: 4.0.1
>            Reporter: Xiaoshuang LU
>            Assignee: Shwetha G S
>             Fix For: 4.2.0
>
>         Attachments: OOZIE-1876-v10.patch, OOZIE-1876-v10.patch, 
> OOZIE-1876-v12.patch, OOZIE-1876-v13.patch, OOZIE-1876-v2.patch, 
> OOZIE-1876-v3.patch, OOZIE-1876-v4.patch, OOZIE-1876-v5.patch, 
> OOZIE-1876-v5.patch, OOZIE-1876-v6.patch, OOZIE-1876-v7.patch, 
> OOZIE-1876-v7.patch, OOZIE-1876-v8.patch, OOZIE-1876-v9.patch, 
> OOZIE-1876.patch
>
>
> version numbers (hbase, hive, hcatalog, sqoop, etc) are hard coded in the pom 
> files.



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

Reply via email to