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

Noam Shemesh commented on OOZIE-3634:
-------------------------------------

Thanks Andras,

Do you know how can we set hbase-server dependency? any steps to be done and 
what files to change and what to configure there?

in addition, 
we suspect that following *oozie-hbase-client-site.xml* file should be added 
with some configuration info for connectivity to Hbase
 * Hbase credentials file is exist at:
[hadoop@I***1 oozie-5.2.1]$ ll 
/home/hadoop/oozie-5.2.1/core/src/main/java/org/apache/oozie/action/hadoop/HbaseCredentials.java
-rw-r--r-- 1 hadoop hadoop 5192 Feb 10 2021 
/home/hadoop/oozie-5.2.1/core/src/main/java/org/apache/oozie/action/hadoop/HbaseCredentials.java

.........
public class HbaseCredentials implements CredentialsProvider {
 static final String OOZIE_HBASE_CLIENT_SITE_XML = 
"*oozie-hbase-client-site.xml*";
 static final String HBASE_USE_DYNAMIC_JARS = "hbase.dynamic.jars.dir";
.........

[hadoop@I****1 oozie-5.2.1]$ find . -name oozie-hbase-client-site.xml
./core/target/classes/oozie-hbase-client-site.xml
./core/src/main/resources/oozie-hbase-client-site.xml



[hadoop@I*****1 oozie-5.2.1]$ cat 
./core/src/main/resources/oozie-hbase-client-site.xml
......
<configuration>
 <property>
 <name>hbase.use.dynamic.jars</name>
 <value>true</value>
 </property>
</configuration>

 

> Oozie Build | HbaseCredentials.java cannot find symbol error
> ------------------------------------------------------------
>
>                 Key: OOZIE-3634
>                 URL: https://issues.apache.org/jira/browse/OOZIE-3634
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Noam Shemesh
>            Priority: Major
>         Attachments: Oozie Build Error.txt, Oozie error screenshot.png
>
>
> Hello,
> We are trying to install Oozie (standalone, without cloudera) according to 
> following guide:
> [https://oozie.apache.org/docs/5.0.0/DG_QuickStart.html#Building_Oozie] 
> After setup of perquisite, we are running Oozie build:
> *_cd ~/oozie-5.2.1/_*
> *_bin/mkdistro.sh -DskipTests -X_*
> and getting following error (see attached text file and screenshot)
> "
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Reactor Summary for Apache Oozie Main 5.2.1:
> [INFO]
> [INFO] Apache Oozie Main .................................. SUCCESS [ 0.998 s]
> [INFO] Apache Oozie Fluent Job ............................ SUCCESS [ 0.077 s]
> [INFO] Apache Oozie Fluent Job API ........................ SUCCESS [ 5.933 s]
> [INFO] Apache Oozie Client ................................ SUCCESS [ 4.947 s]
> [INFO] Apache Oozie Share Lib Oozie ....................... SUCCESS [ 2.374 s]
> [INFO] Apache Oozie Share Lib HCatalog .................... SUCCESS [ 1.494 s]
> [INFO] Apache Oozie Share Lib Distcp ...................... SUCCESS [ 0.589 s]
> {color:#FF0000}*[INFO] Apache Oozie Core .................................. 
> FAILURE [ 4.606 s]*{color}
> [INFO] Apache Oozie Share Lib Streaming ................... SKIPPED
> [INFO] Apache Oozie Share Lib Pig ......................... SKIPPED
> [INFO] Apache Oozie Share Lib Git ......................... SKIPPED
> [INFO] Apache Oozie Share Lib Hive ........................ SKIPPED
> [INFO] Apache Oozie Share Lib Hive 2 ...................... SKIPPED
> [INFO] Apache Oozie Share Lib Sqoop ....................... SKIPPED
> [INFO] Apache Oozie Examples .............................. SKIPPED
> [INFO] Apache Oozie Share Lib Spark ....................... SKIPPED
> [INFO] Apache Oozie Share Lib ............................. SKIPPED
> [INFO] Apache Oozie Docs .................................. SKIPPED
> [INFO] Apache Oozie WebApp ................................ SKIPPED
> [INFO] Apache Oozie Tools ................................. SKIPPED
> [INFO] Apache Oozie MiniOozie ............................. SKIPPED
> [INFO] Apache Oozie Fluent Job Client ..................... SKIPPED
> [INFO] Apache Oozie Server ................................ SKIPPED
> [INFO] Apache Oozie Distro ................................ SKIPPED
> [INFO] Apache Oozie ZooKeeper Security Tests .............. SKIPPED
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] 
> ------------------------------------------------------------------------
> [INFO] Total time: 21.681 s
> [INFO] Finished at: 2021-08-23T13:28:42+03:00
> [INFO] 
> ------------------------------------------------------------------------
> [ERROR] Failed to execute goal 
> org.apache.maven.plugins:maven-compiler-plugin:3.7.0:compile 
> (default-compile) on project oozie-core: Compilation failure: Compilation 
> failure:
> [ERROR] 
> /home/hadoop/oozie-*{color:#FF0000}5.2.1/core/src/main/java/org/apache/oozie/action/hadoop/HbaseCredentials.java:[31,46]
>  cannot find symbol{color}*
> "
> Can you please explain us what we need to set and what file to update for 
> missing Hbase setting before build?
>  
> Thanks,
> Noam



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to