Giter VIP home page Giter VIP logo

shim-config-loader-start's People

Contributors

hramatskiu avatar

Stargazers

 avatar

Watchers

 avatar

shim-config-loader-start's Issues

Update logging info about copying krb5.conf

2017-12-22 12:48:42,389 57127 INFO [com.epam.shim.configurator.Krb5Configurator] (Thread-4:) Start download krb5 from cluster! 2017-12-22 12:48:45,354 60092 INFO [com.epam.loader.common.util.FileCommonUtil] (Thread-4:) Save - /home/devuser/dist/config-test/kerberos/krb5.conf 2017-12-22 12:48:45,356 60094 INFO [com.epam.shim.configurator.Krb5Configurator] (Thread-4:) Successfully copied to + /home/devuser/dist/config-test/kerberos/krb5.conf 2017-12-22 12:48:45,357 60095 INFO [com.epam.shim.configurator.Krb5Configurator] (Thread-4:) Start copy krb5 to JAVA_HOME! 2017-12-22 12:48:45,413 60151 INFO [com.epam.loader.common.util.FileCommonUtil] (Thread-4:) Save - /etc/krb5.conf 2017-12-22 12:48:45,452 60190 INFO [com.epam.shim.configurator.util.CopyDriversUtil] (Thread-4:) Impala Simba driver already exists in the shim folder 2017-12-22 12:48:45,506 60244 INFO [com.epam.shim.configurator.util.CopyDriversUtil] (Thread-4:) MySQL driver already exists in the destination folder 2017-12-22 12:48:45,507 60245 INFO [com.epam.shim.configurator.util.CopyDriversUtil] (Thread-4:) MySQL driver already exists in the destination folder
Where krb5.conf exactly copied?

In Linux.classpath for mapr60 has duplicating parh to shim in the beginning & end

property "linux.classpath" is set to value "/home/mapr/Pentaho/design-tools/data-integration/plugins/pentaho-big-data-plugin/hadoop-configurations/mapr60/,/opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/common/lib/,/opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/common/,/opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/hdfs,/opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/hdfs/lib/,/opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/hdfs/,/opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/yarn/lib/,/opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/yarn/,/opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/mapreduce/lib/,/opt/mapr/hadoop/hadoop-2.7.0/share/hadoop/mapreduce/,/opt/mapr/lib/kvstore.jar,/opt/mapr/lib/libprotodefs.jar,/opt/mapr/lib/baseutils.jar,/opt/mapr/lib/maprutil.jar,/opt/mapr/lib/json-1.8.jar,/opt/mapr/lib/flexjson-2.1.jar,/opt/mapr/lib,/home/mapr/Pentaho/design-tools/data-integration/plugins/pentaho-big-data-plugin/hadoop-configurations/mapr60" in file "/home/mapr/Pentaho/design-tools/data-integration/plugins/pentaho-big-data-plugin/hadoop-configurations/mapr60/config.properties"

MapR client config

Paths in hadoop classpath for Windows should be started with "file:///C" and NOT with "file:///c"

Some properties should not be applied to core-site.xml in LInux

<property> <name>hadoop.spoofed.user.uid</name> <value>5000</value> </property> <property> <name>hadoop.spoofed.user.gid</name> <value>5000</value> </property> <property> <name>hadoop.spoofed.user.username</name> <value>mapr</value> </property>
This is not needed in linux

Hard coded user for principal property

On main form "Kerberos" pair of fields exist. For EMR clusters used hadoop user, but later for 'pentaho.authentication.default.kerberos.principal' value is populating as "devuser@.....". It will be better to use the very same user as for kerberos authentication during config loading, and for kerberos principal in config.properties file.
Attachment: https://i.imgur.com/1CcdYLD.png

mapred-site.xml lacks some properties

Here is the list:

<property>
  <name>mapreduce.app-submission.cross-platform</name>
  <value>true</value>
</property>

--------------- The above property is necessary to run mapred apps on windows

<property>
<name>mapreduce.map.memory.mb</name>
<value>4000</value>
</property>

--------------- This property is usually necessary coz we often face the lack of resources

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.