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

extra_configurations for 'hadoop.security.authentication' not works #10

Open
kysersozelee opened this issue Aug 2, 2018 · 0 comments
Open

Comments

@kysersozelee
Copy link

kysersozelee commented Aug 2, 2018

I try to import data and export to hdfs by using embulk-output-parquet library.
But when I run embulk by below settings, "Error: java.lang.RuntimeException: org.apache.hadoop.security.AccessControlException: SIMPLE authentication is not enabled. Available:[TOKEN, KERBEROS] " exception occurred.

in:
  type: mysql
  host: 192.168.65.2
  port: 3306
  user: user
  password: "pwd"
  database: testdb
  table: testtable
  options: { useLegacyDatetimeCode: true }
out:
  type: parquet
  path_prefix: hdfs://{url}/tmp/embulk
  extra_configurations:
    hadoop.security.authentication: 'KERBEROS'
  config_files:
    - {HADOOP_CONFIG_HOME}/hdfs-site.xml
    - {HADOOP_CONFIG_HOME}/core-site.xml

kerberos setting is ok all, and I inserted code for checking 'hadoop.security.authentication' is really set by 'SIMPLE'. But 'KEBEROS' value was overwrited correctly. I guess even though set by any string, it is overwrited by 'SIMPLE' somewhere.

os : hadoop
embulk : v0.97
haddop : hadoop-2.6.0-cdh5.14.2

related issue I found : civitaspo/embulk-output-hdfs#17

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

1 participant