Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support HDFS Artifacts #1140

Closed
dtaniwaki opened this issue Dec 27, 2018 · 5 comments
Closed

Support HDFS Artifacts #1140

dtaniwaki opened this issue Dec 27, 2018 · 5 comments

Comments

@dtaniwaki
Copy link
Member

dtaniwaki commented Dec 27, 2018

Is this a BUG REPORT or FEATURE REQUEST?:

FEATURE REQUEST

What happened:

My company uses HDFS w/ Kerberos auth as a storage for artifacts and want to use it easily in argo.

Anything else we need to know?:

I'm implementing it, so I will send a PR.

I'm also adding the HDFS support in argo-events.
argoproj/argo-events#142

@dtaniwaki
Copy link
Member Author

dtaniwaki commented Dec 31, 2018

I have implemented the HDFS support in https://github.com/dtaniwaki/argo/tree/support-hdfs-artifacts but the HDFS go client error with kubernetes-HDFS, which I use for my local development, prevent me from testing Kerberos authentication. I'll wait or work with the repo owner of the client.

@dtaniwaki
Copy link
Member Author

I succeeded to use this HDFS artifact with the following patch for kubernetes-HDFS.

diff --git a/charts/hdfs-config-k8s/templates/configmap.yaml b/charts/hdfs-config-k8s/templates/configmap.yaml
index 379dab8..f02b692 100644
--- a/charts/hdfs-config-k8s/templates/configmap.yaml
+++ b/charts/hdfs-config-k8s/templates/configmap.yaml
@@ -34,7 +34,7 @@ data:
       </property>
       <property>
         <name>hadoop.rpc.protection</name>
-        <value>privacy</value>
+        <value>authentication</value>
       </property>
       <property>
         <name>hadoop.user.group.static.mapping.overrides</name>
@@ -74,7 +74,7 @@ data:
       </property>
       <property>
         <name>dfs.encrypt.data.transfer</name>
-        <value>true</value>
+        <value>false</value>
       </property>
       <property>
         <name>dfs.namenode.kerberos.principal</name>

@alexmt
Copy link
Contributor

alexmt commented Jan 16, 2019

This is done. Thanks @dtaniwaki !

@alexmt alexmt closed this as completed Jan 16, 2019
@BobLiu20
Copy link

@dtaniwaki Hi guys. Thanks for your great work. Could you share me how to config the ConfigMap to use HDFS? I can't find any doc for this case.

@dtaniwaki
Copy link
Member Author

@BobLiu20
The commented-out lines in https://github.com/dtaniwaki/argo/blob/34ed28dda5a693d6d37a3c1d544d28a432a19f21/examples/hdfs-artifact.yaml#L41-L52 may help.

icecoffee531 pushed a commit to icecoffee531/argo-workflows that referenced this issue Jan 5, 2022
* build: updated codegen

Signed-off-by: Joshua Jorel Lee <[email protected]>

* feat: added AzureEventHubsTrigger reference.

Signed-off-by: Joshua Jorel Lee <[email protected]>

* feat: added Azure Event Hubs trigger template context and creation.

Signed-off-by: Joshua Jorel Lee <[email protected]>

* feat: send events to Azure Event Hubs.

Signed-off-by: Joshua Jorel Lee <[email protected]>

* build: updated dependencies

Signed-off-by: Joshua Jorel Lee <[email protected]>

* doc: added azure event hubs example

Signed-off-by: Joshua Jorel Lee <[email protected]>

* docs: removed service account name reference

Signed-off-by: Joshua Jorel Lee <[email protected]>

* doc: fixed indentation. removed service account from the example.

Signed-off-by: Joshua Jorel Lee <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants