[
https://issues.apache.org/jira/browse/RANGER-4418?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17785142#comment-17785142
]
YUBI LEE edited comment on RANGER-4418 at 11/11/23 4:57 AM:
------------------------------------------------------------
[~avs75]
How did you build it?
I built it with the script "./build_ranger_using_docker.sh" with no other
arguments and succeeded it.
{code}
❯ ./build_ranger_using_docker.sh
...
...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for ranger 3.0.0-SNAPSHOT:
[INFO]
[INFO] ranger ............................................. SUCCESS [ 4.164 s]
[INFO] Jdbc SQL Connector ................................. SUCCESS [ 5.241 s]
[INFO] Credential Support ................................. SUCCESS [ 3.865 s]
[INFO] Audit Component .................................... SUCCESS [ 10.778 s]
[INFO] ranger-plugin-classloader .......................... SUCCESS [ 3.371 s]
[INFO] Common library for Plugins ......................... SUCCESS [ 21.970 s]
[INFO] ranger-intg ........................................ SUCCESS [ 6.043 s]
[INFO] Installer Support Component ........................ SUCCESS [ 3.082 s]
[INFO] Credential Builder ................................. SUCCESS [ 3.810 s]
[INFO] Embedded Web Server Invoker ........................ SUCCESS [ 6.396 s]
[INFO] Ranger HA Common Library ........................... SUCCESS [ 3.779 s]
[INFO] ranger-metrics ..................................... SUCCESS [ 5.009 s]
[INFO] Key Management Service ............................. SUCCESS [ 27.112 s]
[INFO] HBase Security Plugin Shim ......................... SUCCESS [ 8.427 s]
[INFO] HBase Security Plugin .............................. SUCCESS [ 11.023 s]
[INFO] Hdfs Security Plugin ............................... SUCCESS [ 7.487 s]
[INFO] Hive Security Plugin ............................... SUCCESS [ 12.963 s]
[INFO] Knox Security Plugin Shim .......................... SUCCESS [ 3.553 s]
[INFO] Knox Security Plugin ............................... SUCCESS [ 8.856 s]
[INFO] Storm Security Plugin .............................. SUCCESS [ 7.825 s]
[INFO] YARN Security Plugin ............................... SUCCESS [ 5.354 s]
[INFO] Ozone Security Plugin .............................. SUCCESS [ 11.217 s]
[INFO] Ranger Util ........................................ SUCCESS [ 4.795 s]
[INFO] Unix Authentication Client ......................... SUCCESS [ 3.145 s]
[INFO] User Group Synchronizer Util ....................... SUCCESS [ 2.641 s]
[INFO] ranger-authn ....................................... SUCCESS [ 2.925 s]
[INFO] Security Admin Web Application ..................... SUCCESS [02:28 min]
[INFO] KAFKA Security Plugin .............................. SUCCESS [ 6.204 s]
[INFO] SOLR Security Plugin ............................... SUCCESS [ 7.115 s]
[INFO] NestedStructure Security Plugin .................... SUCCESS [ 5.414 s]
[INFO] NiFi Security Plugin ............................... SUCCESS [ 4.999 s]
[INFO] NiFi Registry Security Plugin ...................... SUCCESS [ 5.040 s]
[INFO] Presto Security Plugin ............................. SUCCESS [ 6.085 s]
[INFO] Kudu Security Plugin ............................... SUCCESS [ 3.319 s]
[INFO] Unix User Group Synchronizer ....................... SUCCESS [ 9.366 s]
[INFO] Ldap Config Check Tool ............................. SUCCESS [ 4.180 s]
[INFO] Unix Authentication Service ........................ SUCCESS [ 4.079 s]
[INFO] KMS Security Plugin ................................ SUCCESS [ 7.982 s]
[INFO] Tag Synchronizer ................................... SUCCESS [ 8.609 s]
[INFO] Hdfs Security Plugin Shim .......................... SUCCESS [ 3.546 s]
[INFO] Hive Security Plugin Shim .......................... SUCCESS [ 6.068 s]
[INFO] YARN Security Plugin Shim .......................... SUCCESS [ 3.434 s]
[INFO] OZONE Security Plugin Shim ......................... SUCCESS [ 4.033 s]
[INFO] Storm Security Plugin shim ......................... SUCCESS [ 3.272 s]
[INFO] KAFKA Security Plugin Shim ......................... SUCCESS [ 3.419 s]
[INFO] SOLR Security Plugin Shim .......................... SUCCESS [ 4.255 s]
[INFO] Atlas Security Plugin Shim ......................... SUCCESS [ 3.918 s]
[INFO] KMS Security Plugin Shim ........................... SUCCESS [ 4.713 s]
[INFO] Presto Security Plugin Shim ........................ SUCCESS [ 4.077 s]
[INFO] ranger-examples .................................... SUCCESS [ 0.092 s]
[INFO] Ranger Examples - Conditions and ContextEnrichers .. SUCCESS [ 4.569 s]
[INFO] Ranger Examples - SampleApp ........................ SUCCESS [ 2.223 s]
[INFO] Ranger Examples - Ranger Plugin for SampleApp ...... SUCCESS [ 3.369 s]
[INFO] sample-client ...................................... SUCCESS [ 3.960 s]
[INFO] Apache Ranger Examples Distribution ................ SUCCESS [ 3.929 s]
[INFO] Ranger Tools ....................................... SUCCESS [ 6.413 s]
[INFO] Atlas Security Plugin .............................. SUCCESS [ 6.050 s]
[INFO] SchemaRegistry Security Plugin ..................... SUCCESS [ 8.846 s]
[INFO] Sqoop Security Plugin .............................. SUCCESS [ 6.263 s]
[INFO] Sqoop Security Plugin Shim ......................... SUCCESS [ 3.433 s]
[INFO] Kylin Security Plugin .............................. SUCCESS [ 6.524 s]
[INFO] Kylin Security Plugin Shim ......................... SUCCESS [ 3.868 s]
[INFO] Elasticsearch Security Plugin Shim ................. SUCCESS [ 3.672 s]
[INFO] Elasticsearch Security Plugin ...................... SUCCESS [ 5.128 s]
[INFO] Apache Ranger Distribution ......................... SUCCESS [02:23 min]
[INFO] Unix Native Authenticator .......................... SUCCESS [ 2.407 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11:10 min
[INFO] Finished at: 2023-11-11T04:55:13Z
[INFO] ------------------------------------------------------------------------
{code}
was (Author: eub):
[~avs75]
How did you build it?
I built it with the script "./build_ranger_using_docker.sh" with no other
arguments and succeeded it.
```
❯ ./build_ranger_using_docker.sh
...
...
[INFO] ------------------------------------------------------------------------
[INFO] Reactor Summary for ranger 3.0.0-SNAPSHOT:
[INFO]
[INFO] ranger ............................................. SUCCESS [ 4.164 s]
[INFO] Jdbc SQL Connector ................................. SUCCESS [ 5.241 s]
[INFO] Credential Support ................................. SUCCESS [ 3.865 s]
[INFO] Audit Component .................................... SUCCESS [ 10.778 s]
[INFO] ranger-plugin-classloader .......................... SUCCESS [ 3.371 s]
[INFO] Common library for Plugins ......................... SUCCESS [ 21.970 s]
[INFO] ranger-intg ........................................ SUCCESS [ 6.043 s]
[INFO] Installer Support Component ........................ SUCCESS [ 3.082 s]
[INFO] Credential Builder ................................. SUCCESS [ 3.810 s]
[INFO] Embedded Web Server Invoker ........................ SUCCESS [ 6.396 s]
[INFO] Ranger HA Common Library ........................... SUCCESS [ 3.779 s]
[INFO] ranger-metrics ..................................... SUCCESS [ 5.009 s]
[INFO] Key Management Service ............................. SUCCESS [ 27.112 s]
[INFO] HBase Security Plugin Shim ......................... SUCCESS [ 8.427 s]
[INFO] HBase Security Plugin .............................. SUCCESS [ 11.023 s]
[INFO] Hdfs Security Plugin ............................... SUCCESS [ 7.487 s]
[INFO] Hive Security Plugin ............................... SUCCESS [ 12.963 s]
[INFO] Knox Security Plugin Shim .......................... SUCCESS [ 3.553 s]
[INFO] Knox Security Plugin ............................... SUCCESS [ 8.856 s]
[INFO] Storm Security Plugin .............................. SUCCESS [ 7.825 s]
[INFO] YARN Security Plugin ............................... SUCCESS [ 5.354 s]
[INFO] Ozone Security Plugin .............................. SUCCESS [ 11.217 s]
[INFO] Ranger Util ........................................ SUCCESS [ 4.795 s]
[INFO] Unix Authentication Client ......................... SUCCESS [ 3.145 s]
[INFO] User Group Synchronizer Util ....................... SUCCESS [ 2.641 s]
[INFO] ranger-authn ....................................... SUCCESS [ 2.925 s]
[INFO] Security Admin Web Application ..................... SUCCESS [02:28 min]
[INFO] KAFKA Security Plugin .............................. SUCCESS [ 6.204 s]
[INFO] SOLR Security Plugin ............................... SUCCESS [ 7.115 s]
[INFO] NestedStructure Security Plugin .................... SUCCESS [ 5.414 s]
[INFO] NiFi Security Plugin ............................... SUCCESS [ 4.999 s]
[INFO] NiFi Registry Security Plugin ...................... SUCCESS [ 5.040 s]
[INFO] Presto Security Plugin ............................. SUCCESS [ 6.085 s]
[INFO] Kudu Security Plugin ............................... SUCCESS [ 3.319 s]
[INFO] Unix User Group Synchronizer ....................... SUCCESS [ 9.366 s]
[INFO] Ldap Config Check Tool ............................. SUCCESS [ 4.180 s]
[INFO] Unix Authentication Service ........................ SUCCESS [ 4.079 s]
[INFO] KMS Security Plugin ................................ SUCCESS [ 7.982 s]
[INFO] Tag Synchronizer ................................... SUCCESS [ 8.609 s]
[INFO] Hdfs Security Plugin Shim .......................... SUCCESS [ 3.546 s]
[INFO] Hive Security Plugin Shim .......................... SUCCESS [ 6.068 s]
[INFO] YARN Security Plugin Shim .......................... SUCCESS [ 3.434 s]
[INFO] OZONE Security Plugin Shim ......................... SUCCESS [ 4.033 s]
[INFO] Storm Security Plugin shim ......................... SUCCESS [ 3.272 s]
[INFO] KAFKA Security Plugin Shim ......................... SUCCESS [ 3.419 s]
[INFO] SOLR Security Plugin Shim .......................... SUCCESS [ 4.255 s]
[INFO] Atlas Security Plugin Shim ......................... SUCCESS [ 3.918 s]
[INFO] KMS Security Plugin Shim ........................... SUCCESS [ 4.713 s]
[INFO] Presto Security Plugin Shim ........................ SUCCESS [ 4.077 s]
[INFO] ranger-examples .................................... SUCCESS [ 0.092 s]
[INFO] Ranger Examples - Conditions and ContextEnrichers .. SUCCESS [ 4.569 s]
[INFO] Ranger Examples - SampleApp ........................ SUCCESS [ 2.223 s]
[INFO] Ranger Examples - Ranger Plugin for SampleApp ...... SUCCESS [ 3.369 s]
[INFO] sample-client ...................................... SUCCESS [ 3.960 s]
[INFO] Apache Ranger Examples Distribution ................ SUCCESS [ 3.929 s]
[INFO] Ranger Tools ....................................... SUCCESS [ 6.413 s]
[INFO] Atlas Security Plugin .............................. SUCCESS [ 6.050 s]
[INFO] SchemaRegistry Security Plugin ..................... SUCCESS [ 8.846 s]
[INFO] Sqoop Security Plugin .............................. SUCCESS [ 6.263 s]
[INFO] Sqoop Security Plugin Shim ......................... SUCCESS [ 3.433 s]
[INFO] Kylin Security Plugin .............................. SUCCESS [ 6.524 s]
[INFO] Kylin Security Plugin Shim ......................... SUCCESS [ 3.868 s]
[INFO] Elasticsearch Security Plugin Shim ................. SUCCESS [ 3.672 s]
[INFO] Elasticsearch Security Plugin ...................... SUCCESS [ 5.128 s]
[INFO] Apache Ranger Distribution ......................... SUCCESS [02:23 min]
[INFO] Unix Native Authenticator .......................... SUCCESS [ 2.407 s]
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 11:10 min
[INFO] Finished at: 2023-11-11T04:55:13Z
[INFO] ------------------------------------------------------------------------
```
> Upgrade hadoop version and use shaded hadoop client artifacts
> -------------------------------------------------------------
>
> Key: RANGER-4418
> URL: https://issues.apache.org/jira/browse/RANGER-4418
> Project: Ranger
> Issue Type: Improvement
> Components: Ranger
> Affects Versions: 2.3.0, 2.4.0
> Reporter: YUBI LEE
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> - Upgrade the hadoop version Ranger uses.
> - Try to use shaded hadoop client artifacts if possible.
> Related issue: https://issues.apache.org/jira/browse/HADOOP-11804
> If shaded hadoop client artifacts ({{hadoop-client-api}},
> {{hadoop-client-runtime}}) are used, Ranger will be free to use any version
> of thirdparty libraries without collision.
> I will make a pull request soon.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)