Member since
01-22-2016
7
Posts
1
Kudos Received
0
Solutions
12-13-2016
06:16 PM
Hi Sunile, Thanks for the response. I saw the link, but looks like cubersome. Want to see if any high-level Spark API that can help in ingesting into hbase. Thanks
Venkat
... View more
12-13-2016
01:40 AM
Hi All, I am looking for an good solution to load the data from spark (dataframes) to an hbase table. I saw the below link , but lookin g for an simple and good solution. https://community.hortonworks.com/questions/17683/reading-from-and-writing-to-hbase-with-a-spark-dat.html Thanks in Advance and please share if any inputs. Thanks Venkat
... View more
Labels:
01-26-2016
10:04 AM
Hi Neeraj, Can you please mention whay typo you noticed ? THnks S
... View more
01-26-2016
09:32 AM
Hi All, I am working on the automation script to install and configure ambari server with MySQL as default database. ambari-server setup -s -v -j /opt/jdk1.7.0_79 -jdbc-db=mysql -jdbc-driver=/usr/share/java/mysql-connector-java.jar I had also check that the java binary is available in the respective path /opt/jdk1.7.0_79 ------------
INFO: about to run command: chown -R root /var/log/ambari-server
INFO: Changing ownership: /var/run/ambari-server root True
INFO: about to run command: chown -R root /var/run/ambari-server
INFO: Changing ownership: /etc/ambari-server root True
INFO: about to run command: chown -R root /etc/ambari-server
Checking firewall status...
INFO: about to run command: /sbin/service iptables status
Checking JDK...
INFO: Loading properties from /etc/ambari-server/conf/ambari.properties
ERROR: Exiting with exit code 1.
REASON: Downloading or installing JDK failed: 'Fatal exception: Path to java home dbc-driver=/usr/share/java/mysql-connector-java.jar or java binary file does not exists, exit code 1'. Exiting.
[root@ico-svr ~]#
--------- The ambari-server setup is still looking to download and install the JDK. Does anyone know what parameters that it is looking from ambari.properties confi file regarding the JDK settings ? Thanks
... View more
Labels:
01-25-2016
07:43 PM
Hi Neeraj, Thanks for the quick reply. My requirement is to force to use MySQL database. The hortonworks documentation says that you can specify the database that you want to.. http://docs.hortonworks.com/HDPDocuments/Ambari-2.1.1.0/bk_Installing_HDP_AMB/content/_setup_options.html Thanks siva
... View more
01-25-2016
06:58 PM
Hi All, I am working on a task to automate the whole installation.. where I am struck with ambari-server installation and setup. My script is issuing a command like.. ambari-server setup -j /usr/lib/jvm/jre-1.7.0-openjdk.x86_64 -s --jdbc-driver /usr/share/java/mysql-connector-java.jar --jdbc-db mysql The installation is going through successfull, but he server is not starting.. The log is pasted below.
## installing ambari-agent Verifying Python version compatibility... Using python /usr/bin/python2.6 Checking for previously running Ambari Agent... Starting ambari-agent Verifying ambari-agent process status... Ambari Agent successfully started Agent PID at: /var/run/ambari-agent/ambari-agent.pid Agent out at: /var/log/ambari-agent/ambari-agent.out Agent log at: /var/log/ambari-agent/ambari-agent.log ## install ambari-server cp: cannot stat `/var/lib/ambari-server/resources/views/*.jar': No such file or directory Using python /usr/bin/python2.6 Setup ambari-server Copying /usr/share/java/mysql-connector-java.jar to /var/lib/ambari-server/resources JDBC driver was successfully initialized. Ambari Server 'setup' completed successfully. nohup: ignoring input and appending output to `nohup.out' Ambari Server failed to start ## Success! All done. root@ico-svr hdp_install]# ambari-server start Using python /usr/bin/python2.6
Starting ambari-server ERROR: Exiting with exit code -1.
REASON: DB Name property not set in config file. - If this is a new setup, then run the "ambari-server setup" command to create the user
- If this is an upgrade of an existing setup, run the "ambari-server upgrade" command.
Refer to the Ambari documentation for more information on setup and upgrade. Can any faced this issue , any help would be appreciated. Thanks Siva
... View more
Labels:
01-22-2016
01:46 AM
1 Kudo
I am trying to open Ranger admin console in the Sandbox, for some reason I donot see the page coming up. Any ideas ? I also do not see the Ranger as a service in the Ambari homepage. However when I check the service running on the sandbox backend -- it is running . [root@sandbox ~]# sudo service ranger-admin status Ranger Admin Service is running [pid={1679}] Thanks Siva
... View more