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

stack updated HBASE-6581:
-------------------------
    Attachment: 6581.txt

Lets get this fixed for hbase-1.0.  YARN-2032 wants it.  See also HADOOP-10995. 
 Attached patch gets us past HttpServer issue and changes sync calls to hsync 
(sync was deprecated in hadoop 0.21).  Cheats by reusing hadoop2-compat rather 
than add a hadoop3-compat.  Could fix this later?

I now get the below:

{code}
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 10.168s
[INFO] Finished at: Fri Sep 12 15:49:22 PDT 2014
[INFO] Final Memory: 39M/452M
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-compiler-plugin:2.5.1:compile (default-compile) 
on project hbase-common: Compilation failure: Compilation failure:
[ERROR] 
/Users/stack/checkouts/hbase.git/hbase-common/src/main/java/org/apache/hadoop/hbase/security/User.java:[32,31]
 error: package org.apache.hadoop.mapred does not exist
[ERROR] 
/Users/stack/checkouts/hbase.git/hbase-common/src/main/java/org/apache/hadoop/hbase/security/User.java:[33,34]
 error: package org.apache.hadoop.mapreduce does not exist
[ERROR] 
/Users/stack/checkouts/hbase.git/hbase-common/src/main/java/org/apache/hadoop/hbase/security/User.java:[104,65]
 error: cannot find symbol
[ERROR] symbol:   class Job
[ERROR] location: class User
[ERROR] 
/Users/stack/checkouts/hbase.git/hbase-common/src/main/java/org/apache/hadoop/hbase/security/User.java:[113,45]
 error: cannot find symbol
[ERROR] symbol:   class JobConf
[ERROR] location: class User
[ERROR] 
/Users/stack/checkouts/hbase.git/hbase-common/src/main/java/org/apache/hadoop/hbase/security/User.java:[272,58]
 error: cannot find symbol
[ERROR] symbol:   class Job
[ERROR] location: class SecureHadoopUser
[ERROR] 
/Users/stack/checkouts/hbase.git/hbase-common/src/main/java/org/apache/hadoop/hbase/security/User.java:[297,38]
 error: cannot find symbol
[ERROR] symbol:   class JobConf
[ERROR] location: class SecureHadoopUser
[ERROR] 
/Users/stack/checkouts/hbase.git/hbase-common/src/main/java/org/apache/hadoop/hbase/io/encoding/DataBlockEncoding.java:[46,61]
 Unsafe is internal proprietary API and may be removed in a future release
[ERROR] 
/Users/stack/checkouts/hbase.git/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:[1157,19]
 Unsafe is internal proprietary API and may be removed in a future release
[ERROR] 
/Users/stack/checkouts/hbase.git/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:[1163,21]
 Unsafe is internal proprietary API and may be removed in a future release
[ERROR] 
/Users/stack/checkouts/hbase.git/hbase-common/src/main/java/org/apache/hadoop/hbase/util/Bytes.java:[1168,28]
 Unsafe is internal proprietary API and may be removed in a future release
[ERROR] 
/Users/stack/checkouts/hbase.git/hbase-common/src/main/java/org/apache/hadoop/hbase/security/User.java:[279,16]
 error: cannot find symbol
[ERROR] symbol:   class Job
[ERROR] location: class SecureHadoopUser
[ERROR] 
/Users/stack/checkouts/hbase.git/hbase-common/src/main/java/org/apache/hadoop/hbase/security/User.java:[303,24]
 error: cannot find symbol
[ERROR] -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e 
switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please 
read the following articles:
[ERROR] [Help 1] 
http://cwiki.apache.org/confluence/display/MAVEN/MojoFailureException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR]   mvn <goals> -rf :hbase-common
kalashnikov:hbase.git stack$ git diff > 6581.txt
{code}

Will be back to this.

> Build with hadoop.profile=3.0
> -----------------------------
>
>                 Key: HBASE-6581
>                 URL: https://issues.apache.org/jira/browse/HBASE-6581
>             Project: HBase
>          Issue Type: Bug
>            Reporter: Eric Charles
>            Assignee: Eric Charles
>             Fix For: 2.0.0, 0.99.1
>
>         Attachments: 6581.txt, HBASE-6581-1.patch, HBASE-6581-2.patch, 
> HBASE-6581-20130821.patch, HBASE-6581-3.patch, HBASE-6581-4.patch, 
> HBASE-6581-5.patch, HBASE-6581-6.patch, HBASE-6581-7.patch, 
> HBASE-6581-8-pom.patch, HBASE-6581.diff, HBASE-6581.diff
>
>
> Building trunk with hadoop.profile=3.0 gives exceptions (see [1]) due to 
> change in the hadoop maven modules naming (and also usage of 3.0-SNAPSHOT 
> instead of 3.0.0-SNAPSHOT in hbase-common).
> I can provide a patch that would move most of hadoop dependencies in their 
> respective profiles and will define the correct hadoop deps in the 3.0 
> profile.
> Please tell me if that's ok to go this way.
> Thx, Eric
> [1]
> $ mvn clean install -Dhadoop.profile=3.0
> [INFO] Scanning for projects...
> [ERROR] The build could not read 3 projects -> [Help 1]
> [ERROR]   
> [ERROR]   The project org.apache.hbase:hbase-server:0.95-SNAPSHOT 
> (/d/hbase.svn/hbase-server/pom.xml) has 3 errors
> [ERROR]     'dependencies.dependency.version' for 
> org.apache.hadoop:hadoop-common:jar is missing. @ line 655, column 21
> [ERROR]     'dependencies.dependency.version' for 
> org.apache.hadoop:hadoop-annotations:jar is missing. @ line 659, column 21
> [ERROR]     'dependencies.dependency.version' for 
> org.apache.hadoop:hadoop-minicluster:jar is missing. @ line 663, column 21
> [ERROR]   
> [ERROR]   The project org.apache.hbase:hbase-common:0.95-SNAPSHOT 
> (/d/hbase.svn/hbase-common/pom.xml) has 3 errors
> [ERROR]     'dependencies.dependency.version' for 
> org.apache.hadoop:hadoop-common:jar is missing. @ line 170, column 21
> [ERROR]     'dependencies.dependency.version' for 
> org.apache.hadoop:hadoop-annotations:jar is missing. @ line 174, column 21
> [ERROR]     'dependencies.dependency.version' for 
> org.apache.hadoop:hadoop-minicluster:jar is missing. @ line 178, column 21
> [ERROR]   
> [ERROR]   The project org.apache.hbase:hbase-it:0.95-SNAPSHOT 
> (/d/hbase.svn/hbase-it/pom.xml) has 3 errors
> [ERROR]     'dependencies.dependency.version' for 
> org.apache.hadoop:hadoop-common:jar is missing. @ line 220, column 18
> [ERROR]     'dependencies.dependency.version' for 
> org.apache.hadoop:hadoop-annotations:jar is missing. @ line 224, column 21
> [ERROR]     'dependencies.dependency.version' for 
> org.apache.hadoop:hadoop-minicluster:jar is missing. @ line 228, column 21
> [ERROR] 



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

Reply via email to