You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Sean Mackrory (JIRA)" <ji...@apache.org> on 2018/09/27 18:35:00 UTC

[jira] [Created] (HADOOP-15797) optional / builtin modules confused for cloud storage

Sean Mackrory created HADOOP-15797:
--------------------------------------

             Summary: optional / builtin modules confused for cloud storage
                 Key: HADOOP-15797
                 URL: https://issues.apache.org/jira/browse/HADOOP-15797
             Project: Hadoop Common
          Issue Type: Bug
          Components: fs/adl, fs/azure, fs/s3
            Reporter: Sean Mackrory


Throwing this in your .hadooprc results in hadoop-aws being in the classpath but not hadoop-azure*:

{quote}
hadoop_add_to_classpath_tools hadoop-aws
hadoop_add_to_classpath_tools hadoop-azure
hadoop_add_to_classpath_tools hadoop-azure-datalake
{quote}

It would seem that the core issue is that that requires the module to have listed it's dependencies in MODULE_NAME.tools-builtin.txt, whereas the Azure connectors only have them listed in MODULE_NAME.tools-optional.txt. S3 does both, and there's a comment in it's POM about how it needs to do this because of the "hadoop s3guard" CLI.

Maybe there's some history that I'm missing here, but I think what's wrong here is that hadoop_add_to_classpath should get what it needs from optional modules. builtin modules shouldn't even need hadoop_add_to_classpath to be added anyway.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: common-issues-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-issues-help@hadoop.apache.org