Member since
08-06-2018
10
Posts
0
Kudos Received
0
Solutions
07-01-2019
09:29 PM
go this page http://community.hortonworks.com/answers/223722/view.html i asume you need register and may will be need pay for SmartSense ID
... View more
03-04-2019
09:03 PM
HI Akhil S Naik, @Leonel Atencio , @Geoffrey Shelton Okot
I have the same issue and try to put the whole state in INSTALLED, then restart the ambari server, but the services appear in red mode.
how did they solve, did they try something else?
Stay tuned to your comments
regards
... View more
01-22-2019
06:39 PM
i solve it i create the local folder and remote folder with the same name then run IDE with end line #%% and voila.
... View more
01-22-2019
06:32 PM
Hi, i have hdp 3.0 hdfs 3.1 ambari 2.7 and anaconda spyder, , i have 3 nodemanager and need use IDE Spyder connected to a spark to use the power of Cluster. someone try work with this config?
... View more
Labels:
01-14-2019
05:02 PM
Hi, I try connect Anaconda 1.9.6 with Spyder Ver 3.3.2 with HDP 3.0 Ambari Spark2 i generate the remote kernel.json and when try connect the console appears a message : %run "C:\Users\admin01\.spyder-py3\temp.py" ERROR:root:File `'C:\\Users\\admin01\\.spyder-py3\\temp.py'` not found. any idea?
... View more
Labels:
- Labels:
-
Apache Spark
10-05-2018
02:16 PM
i fixed remove line "useradd -G hdfs" in my script
... View more
09-25-2018
08:02 PM
resolved... remove the -G hdfs to script
... View more
09-25-2018
08:02 PM
Hi i have a Question and put my script to help somebody maybe need This script create a User and Folder on all host defined on cluster, assign privilegies and add to group hdfs.
Then i create the same created User in ambari view (File View) to upload files into a respective folder after created with the script
But all Users created in ambari view can upload to another User folders and delete files
i have ranger installed but i can`t find where i can control the control option to dont write or delete in not own directory. SCRIPT "
echo " "
echo ""
echo -n "Ingrese por favor el nombre del usuario a crear: " $username
read username
echo -n "Creando usuario en Servidor Maestro: "
useradd -G hdfs $username
passwd $username
echo -n "Usuario $username creado OK en Servidor Maestro: "
echo ""
echo -n "Creando usuario en Host1: "
ssh root@192.168.XX.XX useradd -G hdfs $username
echo ""
ssh root@192.168.XX.XX passwd $username
echo ""
echo -n "Usuario $username creado OK en Host1: "
echo ""
echo -n "Creando usuario en Host2: "
ssh root@192.168.XX.XX useradd -G hdfs $username
echo ""
ssh root@192.168.XX.XX passwd $username
echo ""
echo -n "Usuario $username creado OK en Host2: "
echo ""
echo -n "Creando carpeta en hdfs: "
su -l hdfs -c "hdfs dfs -mkdir /user/$username"
echo -n "Carpeta $username creada OK en hdfs: "
echo ""
echo -n "Creando permisos...; espere...: "
su -l hdfs -c "hdfs dfs -chown $username /user/$username"
echo -n "Permiso creado correctamente: "
echo ""
su -l hdfs -c "hdfs dfs -chmod 755 /user/$username"
echo -n "Usuarios $username creado satisfactoriamente y con permisos asignados: "
#echo -n "asignando quota para el usuario $username .....; ok: "
#hdfs dfsadmin -setSpaceQuota 5gb /user/$username
hdfs dfs -ls /user/
echo -n "Muchas Gracias: "
exit
... View more
Labels:
- Labels:
-
Apache Ambari
09-20-2018
08:41 PM
The problem was solved, this happened.
for some reason the database type was changed, from postgre to mysql and this corrupted the ambari.propierties properties file,
this happened after the installation of Ranger, what was done, was to edit the file so that it is configured with the database Postgre, connectors and ports.
With this, everything returned to normal.
/ etc / ambari-server / conf /
ambari.properties
This is how I am after the changes
server.jdbc.database = postgres
server.jdbc.database_name = ambari
server.jdbc.driver = org.postgresql.Driver
server.jdbc.driver.path = / usr / lib / ambari-server / postgresql-42.2.2.jar
server.jdbc.hostname = localhost
server.jdbc.port = 5432
server.jdbc.postgres.schema = ambari
server.jdbc.rca.driver = org.postgresql.Driver my mistake was install mysql DB over postgre in ambari-server setup before first installation
... View more
09-13-2018
10:34 PM
Hi,
When try exec ambari-server start
[root@maestro-hadoop-01 tmp]# ambari-server start Using python /usr/bin/python Starting ambari-server Ambari Server running with administrator privileges. Organizing resource files at /var/lib/ambari-server/resources... Ambari database consistency check started... Server PID at: /var/run/ambari-server/ambari-server.pid Server out at: /var/log/ambari-server/ambari-server.out Server log at: /var/log/ambari-server/ambari-server.log Waiting for server start........................................ERROR: Exiting with exit code -1. REASON: Ambari Server java process has stopped. Please check the logs for more information.
check the /var/log/ambari-server/ambari-server.log and found this:
WARN [C3P0PooledConnectionPoolManager[identityToken->1hge55j9x1mybganw6n0sl|26abb146]-HelperThread-#2] BasicResourcePool:223 - com.mchange.v2.resourcepool.BasicResourcePool$ScatteredAcquireTask@25affd37 -- Acquisition Attempt Failed!!! Clearing pending acquires. While trying to acquire a needed new resource, we failed to succeed more than the maximum number of allowed acquisition attempts (30). Last acquisition attempt exception: java.sql.SQLException: Access denied for user 'ambari'@'maestro-hadoop-01' (using password: YES)
WARN [C3P0PooledConnectionPoolManager[identityToken->1hge55j9x1mybganw6n0sl|26abb146]-HelperThread-#1] BasicResourcePool:220 - Having failed to acquire a resource, com.mchange.v2.resourcepool.BasicResourcePool@5c82031b is interrupting all Threads waiting on a resource to check out. Will try again in response to new client requests. 2018-09-13 16:47:18,623 ERROR [main] AmbariServer:1111 - Failed to run the Ambari Server javax.persistence.PersistenceException: Exception [EclipseLink-4002] (Eclipse Persistence Services - 2.6.2.v20151217-774c696): org.eclipse.persistence.exceptions.DatabaseException Internal Exception: java.sql.SQLException: Connections could not be acquired from the underlying database! Error Code: 0
... View more
- Tags:
- startup
Labels:
- Labels:
-
Apache Ambari