Member since
02-03-2016
123
Posts
22
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
198 | 04-13-2017 08:09 AM |
02-19-2016
01:21 PM
Jar is already at the mentioned path. Screenshot has been attached. sqoop-lib.jpg
... View more
02-19-2016
01:19 PM
1 Kudo
Hi @Neeraj Sabharwal & @Artem Ervits thanks for your points but the jar is already at the mentioned path. Attaching the screenshot. sqoop-lib.jpg
... View more
02-19-2016
01:09 PM
1 Kudo
Hi, HDP 2.3.4.0 cluster in 4 nodes has been set up and it is working fine. We are trying to evaluate Atlas using demo in below link: https://github.com/shivajid/atlas/tree/master/tutorial We are facing issue while using Sqoop during execution of above demo. Full description of issue is as below: 1) Sqoop and MySql databases are in different hosts. 2) MySql jar is in both the hosts and also in lib folder of sqoop home /usr/hdp/2.3.4.0-3485/sqoop/lib/ 3) Have provided below privilege in MySql to avoid privilege issues: grant all privileges on *.* to 'trucker1'@'%' identified by 'trucker'; flush privileges;
4) Now trying to import data using below command: sqoop import --connect jdbc:mysql://3.209.124.206:3306/test --username trucker1 --password trucker --table DRIVERS -m 1 --target-dir demo$1 --hive-import --hive-table hortondrivers$1 5) Facing below error when executing above command. 16/02/19 18:20:45 WARN tool.BaseSqoopTool: Setting your password on the command-line is insecure. Consider using -P instead.
16/02/19 18:20:45 INFO manager.MySQLManager: Preparing to use a MySQL streaming resultset.
16/02/19 18:20:45 INFO tool.CodeGenTool: Beginning code generation
16/02/19 18:20:45 ERROR sqoop.Sqoop: Got exception running Sqoop: java.lang.RuntimeException: Could not load db driver class: com.mysql.jdbc.Driver
java.lang.RuntimeException: Could not load db driver class: com.mysql.jdbc.Driver
at org.apache.sqoop.manager.SqlManager.makeConnection(SqlManager.java:636)
at org.apache.sqoop.manager.GenericJdbcManager.getConnection(GenericJdbcManager.java:52)
at org.apache.sqoop.manager.SqlManager.execute(SqlManager.java:525)
at org.apache.sqoop.manager.SqlManager.execute(SqlManager.java:548)
at org.apache.sqoop.manager.SqlManager.getColumnTypesForRawQuery(SqlManager.java:191)
at org.apache.sqoop.manager.SqlManager.getColumnTypes(SqlManager.java:175)
at org.apache.sqoop.manager.ConnManager.getColumnTypes(ConnManager.java:262)
at org.apache.sqoop.orm.ClassWriter.getColumnTypes(ClassWriter.java:1235)
at org.apache.sqoop.orm.ClassWriter.generate(ClassWriter.java:1060)
at org.apache.sqoop.tool.CodeGenTool.generateORM(CodeGenTool.java:82)
at org.apache.sqoop.tool.ImportTool.importTable(ImportTool.java:390)
at org.apache.sqoop.tool.ImportTool.run(ImportTool.java:476)
at org.apache.sqoop.Sqoop.run(Sqoop.java:145)
at org.apache.hadoop.util.ToolRunner.run(ToolRunner.java:70)
at org.apache.sqoop.Sqoop.runSqoop(Sqoop.java:181)
at org.apache.sqoop.Sqoop.runTool(Sqoop.java:220)
at org.apache.sqoop.Sqoop.runTool(Sqoop.java:229)
at org.apache.sqoop.Sqoop.main(Sqoop.java:238)
at com.cloudera.sqoop.Sqoop.main(Sqoop.java:57) Looking for your help as we need to understand how Atlas work for data governance. Thanks!
... View more
- Tags:
- Data Processing
- Sqoop
Labels:
02-19-2016
08:36 AM
1 Kudo
Hi, We have built HDP 2.3.4.0 cluster using Ambari and the cluster is working fine. We would like to set up Nagios and Ganglia in that cluster. Can you please relevant steps to achieve the same? Thanks!
... View more
02-16-2016
01:59 PM
1 Kudo
New observations: when the table is empty we are facing this issue. But when data was inserted it ran successfully. So is this a bug in hive server2 ?
... View more
02-16-2016
01:17 PM
1 Kudo
We have set up HDP 2.3.4.0 and over that we have set up Apache Hue successfully. Hue works fine when running any query in Beeswax but we are facing issues while running any query in Beeline. Following error is observed when we are trying to run in any query in beeline prompt after jdbc connectivity. Error: Error while processing statement: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.tez.TezTask (state=08S01,code=1) Need your help!
... View more
Labels:
02-12-2016
07:37 AM
1 Kudo
I am facing below issue while using Hive view from Ambari console: E090 HDFS020 Could not write file /user/admin/hive/jobs/hive-job-3-2016-02-12_12-55/query.hql [HdfsApiException] Searching through the guides I found out that HDFS user directory set up needs to be done. Following that guide am issuing command hadoop fs -mkdir /user/admin from HDFS user but it throws the below error. -bash-4.1$ hadoop fs -mkdir /user/admin
mkdir: `/user/admin': Input/output error
Need your help on this issue. Note : Using HDP 2.3.4.0 and it was configured using Amabri and also in that host HDFS client is running.
... View more
Labels:
02-11-2016
02:30 PM
We have configured HDP 2.3.4.0 with Ambari in CentOS 6.4. Post installation we can see that the Hive Metastore service is getting stopped everytime it is started through Ambari. We had chosen MySQL for Hive metastore but in logs we can see it tries to connect with Derby. Looking for your help. Have provided the details at below link: https://community.hortonworks.com/questions/16366/hive-metastore-issue-in-hdp2340.html#
... View more
- Tags:
- Hadoop Core
- Hive
Labels:
02-11-2016
02:27 PM
1 Kudo
Hi Guys...looking for your help. We cannot connect to Hive post set up because of the issue.
... View more
02-11-2016
01:15 PM
For OOZIE we have selected New Derby Database. But for Hive we selected New MySQL db.
... View more
02-11-2016
01:10 PM
1 Kudo
Ambari shows MySQL is being used. Attaching the screenshot.
... View more
02-11-2016
12:59 PM
1 Kudo
How to check it? Which file to check?
... View more
02-11-2016
12:49 PM
We have configured HDP 2.3.4.0 with Ambari in CentOS 6.4. Post installation we can see that the Hive Metastore service is getting stopped everytime it is started through Ambari. We had chosen MySQL for Hive metastore but in logs we can see it tries to connect with Derby. Looking for your help.
... View more
- Tags:
- Hadoop Core
- Hive
Labels:
02-08-2016
01:09 PM
2 Kudos
Hi, is it possible to install HUE in HDP2.3.4.0 using Ambari? If so can you please provide the steps?
... View more
- Tags:
- Hadoop Core
- hue
Labels:
02-04-2016
11:09 AM
@Artem Ervitsyes...both stack and utils were built from local repo.
... View more
02-04-2016
11:02 AM
Yes...it was registered successfully. Trying to restart ambari-agent. Also getting below error: resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install mysql-connector-java' returned 1. Error: failure: repodata/53f428f0fc79ca87a64a46b824efa1358e08ca80476639be0192cb556ffca8f3-filelists.sqlite.bz2 from HDP-2.3: [Errno 256] No more mirrors to try.
... View more
02-04-2016
10:48 AM
Ambari-agent log of the node which is giving issue: INFO 2016-02-04 16:15:03,844 logger.py:67 - call returned (0, '')
INFO 2016-02-04 16:15:03,845 logger.py:67 - call['test -w /dev/shm'] {'sudo': True, 'timeout': 5}
INFO 2016-02-04 16:15:03,851 logger.py:67 - call returned (0, '')
INFO 2016-02-04 16:15:03,851 logger.py:67 - call['test -w /boot'] {'sudo': True, 'timeout': 5}
INFO 2016-02-04 16:15:03,857 logger.py:67 - call returned (0, '')
INFO 2016-02-04 16:15:03,858 logger.py:67 - call['test -w /data'] {'sudo': True, 'timeout': 5}
INFO 2016-02-04 16:15:03,864 logger.py:67 - call returned (0, '')
INFO 2016-02-04 16:15:03,889 Controller.py:265 - Heartbeat response received (id = 709)
INFO 2016-02-04 16:15:13,889 Heartbeat.py:78 - Building Heartbeat: {responseId = 709, timestamp = 1454582713889, commandsInProgress = True, componentsMapped = True}
INFO 2016-02-04 16:15:13,997 Controller.py:265 - Heartbeat response received (id = 710)
INFO 2016-02-04 16:15:23,998 Heartbeat.py:78 - Building Heartbeat: {responseId = 710, timestamp = 1454582723998, commandsInProgress = True, componentsMapped = True}
INFO 2016-02-04 16:15:24,023 Controller.py:265 - Heartbeat response received (id = 711)
... View more
02-04-2016
10:45 AM
Tail of ambari-server log : 04 Feb 2016 15:59:36,519 WARN [qtp-ambari-agent-1392] HeartBeatHandler:746 - Received a live status update for a non-initialized service, clusterName=tcsgedigitalcluster, serviceName=HBASE
04 Feb 2016 15:59:36,567 INFO [qtp-ambari-agent-1392] HeartBeatHandler:696 - Security of service component DATANODE of service HDFS of cluster tcsgedigitalcluster has changed from UNSECURED to UNKNOWN on host dn2.tcsgegdc.com
04 Feb 2016 15:59:36,575 INFO [qtp-ambari-agent-1392] HeartBeatHandler:696 - Security of service component HDFS_CLIENT of service HDFS of cluster tcsgedigitalcluster has changed from UNSECURED to UNKNOWN on host dn2.tcsgegdc.com
04 Feb 2016 15:59:36,583 INFO [qtp-ambari-agent-1392] HeartBeatHandler:696 - Security of service component YARN_CLIENT of service YARN of cluster tcsgedigitalcluster has changed from UNSECURED to UNKNOWN on host dn2.tcsgegdc.com
04 Feb 2016 15:59:46,601 INFO [qtp-ambari-agent-1413] HeartBeatHandler:696 - Security of service component METRICS_MONITOR of service AMBARI_METRICS of cluster tcsgedigitalcluster has changed from UNSECURED to UNKNOWN on host dn2.tcsgegdc.com
04 Feb 2016 15:59:46,601 WARN [qtp-ambari-agent-1413] HeartBeatHandler:746 - Received a live status update for a non-initialized service, clusterName=tcsgedigitalcluster, serviceName=SMARTSENSE
04 Feb 2016 16:00:27,930 INFO [qtp-ambari-agent-1392] HeartBeatHandler:696 - Security of service component PIG of service PIG of cluster tcsgedigitalcluster has changed from UNSECURED to UNKNOWN on host dn2.tcsgegdc.com
04 Feb 2016 16:00:27,938 INFO [qtp-ambari-agent-1392] HeartBeatHandler:696 - Security of service component ZOOKEEPER_CLIENT of service ZOOKEEPER of cluster tcsgedigitalcluster has changed from UNSECURED to UNKNOWN on host dn2.tcsgegdc.com
04 Feb 2016 16:00:27,947 INFO [qtp-ambari-agent-1392] HeartBeatHandler:696 - Security of service component MYSQL_SERVER of service HIVE of cluster tcsgedigitalcluster has changed from UNSECURED to UNKNOWN on host dn2.tcsgegdc.com
04 Feb 2016 16:00:27,955 INFO [qtp-ambari-agent-1392] HeartBeatHandler:696 - Security of service component HIVE_CLIENT of service HIVE of cluster tcsgedigitalcluster has changed from UNSECURED to UNKNOWN on host dn2.tcsgegdc.com
... View more
02-04-2016
10:40 AM
@Neeraj Sabharwalwe are using local repositories
... View more
02-04-2016
10:35 AM
While installing HDP stack 2.3.0.0 through Ambari we are facing below issue: Python script has been killed due to timeout after waiting 1800 secs Note that we are using local repository.
... View more
Labels:
02-03-2016
01:32 PM
@Artem Ervitsrestarted the Ambari. Got the below URLs by default in Ambari Select Stack page. But having the same issue as per above screenshot. http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.0.0 http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6
... View more
02-03-2016
01:23 PM
@Artem Ervitshave tried going back and posting URL again....but same issue prevails
... View more
02-03-2016
01:13 PM
@Artem Ervitsplease find the screen shots for error. Same issue for both 2.3 and utils.
... View more
02-03-2016
01:05 PM
@Artem Ervits We can use wget to download the tarballs of the HDP Stack and HDp Utils in CentOS server using the latest links. But we are facing the issue while using the Base URLs from Ambari log in sessions. Also, is there any checking of network speed for using the Base URLs in Ambari? Looking for help.
... View more
02-03-2016
12:42 PM
Also, Base URL http://public-repo-1.hortonworks.com/HDP/centos6/2.x/updates/2.3.4.0 is also not working. Having the same error.
... View more
02-03-2016
12:39 PM
1 Kudo
I have followed the doc under http://docs.hortonworks.com/HDPDocuments/Ambari-2.2.0.0/bk_Installing_HDP_AMB/content/_download_the_ambari_repo_lnx6.html. First downloaded the repo file and used yum as in link.
... View more
02-03-2016
12:34 PM
Ambari installed through wget is ambari-server.x86_64 0:2.2.0.0-1310
... View more
02-03-2016
12:33 PM
Under select stack we are selecting 2.3 Also having issues for HDP-UTILS-1.1.0.20. Base URL for this is coming as: http://public-repo-1.hortonworks.com/HDP-UTILS-1.1.0.20/repos/centos6
... View more
02-03-2016
12:30 PM
Ambari version installed is ambari-server.x86_64 0:2.2.0.0-1310
... View more
- « Previous
- Next »