GithubHelp home page GithubHelp logo

zarquan / gaia-dmp Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wfau/gaia-dmp

0.0 0.0 0.0 11.82 MB

Gaia data analysis platform

License: GNU General Public License v3.0

Python 0.94% Shell 62.95% HCL 6.86% Dockerfile 6.20% Java 1.39% Smarty 3.95% Jinja 17.72%

gaia-dmp's People

Contributors

akrause2014 avatar dependabot[bot] avatar millingw avatar nigelhambly avatar stvoutsin avatar zarquan avatar

gaia-dmp's Issues

Load path for Hadoop native libraries

Ansible installed system is unable to find the native libraries for Hadoop.

pyspark
    ....
    2020-04-20 13:05:41,559 WARN util.NativeCodeLoader: Unable to load native-hadoop library for your platform... using builtin-java classes where applicable
    ....

Possible solution is to add one of the following:

export HADOOP_COMMON_LIB_NATIVE_DIR=$HADOOP_HOME/lib/native
export HADOOP_OPTS="-Djava.library.path=$HADOOP_HOME/lib"

See https://stackoverflow.com/a/24854346

Flag to skip live host test

If we are restarting everything after a power cut, there is no live service to poll.

source /deployments/hadoop-yarn/bin/deploy.sh

    ssh: connect to host live.gaia-dmp.uk port 22: Connection refused
    ....
    ....

We need to wrap this with a command line option that skips the test.

live_hostname=$(ssh -o "StrictHostKeyChecking no" [email protected] 'hostname')
if [[ "$live_hostname" == *"$cloudname"* ]]; then
read -p "You are replacing the current live system!! Do you want to proceed? (y/N) " -n 1 -r
echo
if [[ $REPLY != "y" ]];
then
exit
fi
fi

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.