Member since
03-07-2019
158
Posts
53
Kudos Received
33
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
6429 | 03-08-2019 08:46 AM | |
4372 | 10-17-2018 10:25 AM | |
2800 | 10-16-2018 07:46 AM | |
2139 | 10-16-2018 06:57 AM | |
1779 | 10-12-2018 09:55 AM |
08-01-2018
07:59 AM
Ok, just making sure that you have also edited the <baseurl> parts of that .xml file itself to point it to your local repository location?
... View more
08-01-2018
07:37 AM
Hi @Kalyan Das Does this work as expected if you modify the VDF xml file with your local repo location?
... View more
07-31-2018
02:28 PM
Hi @chaouki
trabelsi To make things maybe easiest you could set the PYTHON env before running from:https://github.com/apache/ambari/blob/release-2.7.0/ambari-server/sbin/ambari-server#L68 if [ -z "${PYTHON:-}" ] ; then
export PYTHON=`readlink $PYTHON_WRAP`
fi
Before starting the ambari-server install can you set the PYTHON environment variable or set PYTHON in /etc/profile (and source it) to point it to the location of your python 2.7 bin? Ex export PYTHON=/usr/path/your/location/bin/python2.7
... View more
07-31-2018
02:00 PM
Any WARN or ERROR entries on ambari-server.log? Checking the ambari-server 2.7 server script at line 91, this is where the script checks the installed PYTHON version. https://github.com/apache/ambari/blob/release-2.7.0/ambari-server/sbin/ambari-server#L91 # check for version
majversion=`$PYTHON -V 2>&1 | awk '{print $2}' | cut -d'.' -f1`
minversion=`$PYTHON -V 2>&1 | awk '{print $2}' | cut -d'.' -f2`
numversion=$(( 10 * $majversion + $minversion))
if (( $numversion < 26 )); then
echo "Need python version > 2.6"
exit 1
fi
echo "Using python " $PYTHON Earlier in the script, we have PYTHON_WRAP="$ROOT/usr/bin/ambari-python-wrap" Is this available and do we have execute permissions on ambari-python-wrap? Which python version are you using?
... View more
07-31-2018
08:07 AM
That's great to hear! Glad I could help 🙂
... View more
07-31-2018
07:16 AM
1 Kudo
Hi @Prabin Silwal Have you also copied nifi-ssl-context-service-nar-*.nar and nifi-standard-services-api-nar-*.nar from NiFi lib to MiNiFi lib? Try an overwrite of standard-services-api-nar if it's already there, if they are not identical.
... View more
07-27-2018
10:12 AM
Hi @Muthukumar Somasundaram Try adding force_https_protocol=PROTOCOL_TLSv1_2 into /etc/ambari-agent/conf/ambari-agent.ini
This KB cover the likely root cause of your error: https://community.hortonworks.com/articles/188269/javapython-updates-and-ambari-agent-tls-settings.html
... View more
07-27-2018
09:59 AM
Relevant error; 'Operating System matching ubuntu16 could not be found' Try this ; https://community.hortonworks.com/content/supportkb/182953/any-action-restartstopstart-cluster-after-hdp-upgr.html Solution: To resolve this issue, correct the OS type and repository from Ambari UI > Admin > Manage Ambari > Versions > Repositories.
... View more
07-27-2018
07:25 AM
Hi @dharam p This might work with a free form import, try the same with the --query and --split-by on the command, for example; sqoop import -connect jdbc:oracle:thin:@192.168..:1521:orcl --username --P --query 'SELECT * FROM SDO_GR_RDT_1' --split-by <provide a column here to use for split by> --target-dir /user/SDO_GR_RDT_1/ --driver oracle.jdbc.OracleDriver
... View more
07-26-2018
06:48 AM
1 Kudo
Hi @Marcin Filip As an alternative, have you tried the same using http? wget http://repo.hortonworks.com/content/repositories/releases/org/apache/hive/hive-pre-upgrade/3.1.0.3.0.0.0-1634/hive-pre-upgrade-3.1.0.3.0.0.0-1634.jar
//////
--2018-07-26 07:45:45-- http://repo.hortonworks.com/content/repositories/releases/org/apache/hive/hive-pre-upgrade/3.1.0.3.0.0.0-1634/hive-pre-upgrade-3.1.0.3.0.0.0-1634.jar Resolving repo.hortonworks.com (repo.hortonworks.com)... 54.225.131.199 Connecting to repo.hortonworks.com (repo.hortonworks.com)|54.225.131.199|:80... connected.
HTTP request sent, awaiting response... 200 OK Length: 25835 (25K) [application/java-archive] Saving to: ‘hive-pre-upgrade-3.1.0.3.0.0.0-1634.jar’
hive-pre-upgrade-3.1.0.3.0.0.0-1634.jar 100%[============================================================================================================================================================================>] 25.23K --.-KB/s in 0.08s
... View more