Member since
05-16-2016
785
Posts
114
Kudos Received
39
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 2324 | 06-12-2019 09:27 AM | |
| 3566 | 05-27-2019 08:29 AM | |
| 5718 | 05-27-2018 08:49 AM | |
| 5229 | 05-05-2018 10:47 PM | |
| 3108 | 05-05-2018 07:32 AM |
03-21-2017
01:17 AM
If you are using Hive 1.3 you can use quarter() built in function. Since you are using String data type for date looks like you can use em . Reference - https://cwiki.apache.org/confluence/display/Hive/LanguageManual+UDF int quarter(date/timestamp/string) Returns the quarter of the year for a date, timestamp, or string in the range 1 to 4 (as of Hive 1.3.0) Example: quarter('2015-04-08') = 2.
... View more
03-21-2017
12:08 AM
Can you perform a simple import statement with --mapreduce-name to see if you are able to override the default jar name. sqoop import --connect jdbc:mysql://localhost/Logo --username tuy --password **** --table Golo --mapreduce-job-name myJOb
... View more
03-17-2017
02:40 AM
I am sorry confused here you intial problem is quote from ur post "This host is not in contact with the Host Monitor." now you say HOST MONITOR service and other datanode (existing) is working fine - can i assume that the problem is solved or you have new problem arising . also please share the host monitor and cm agent logs .
... View more
03-17-2017
02:34 AM
<property>
<name>javax.jdo.option.ConnectionURL</name>
<value>jdbc:mysql://localhost/storage.castrading.com</value>
</property> Could you please try the above . Also it clear tells that USER APP does dont have privilege in storage.castrading.com . I see you have created USER hive and give privilege to storage.castrading.com. use hive user you should be able to supress this error. Copying it from your post . I dont see USER APP in the below mysql> select user,host from mysql.user;
+------------+------------------------+
| user | host |
+------------+------------------------+
| | % |
| % | % |
| retail_dba | % |
| root | % |
| root | 127.0.0.1 |
| retail_dba | 192.168.0.227 |
| root | 192.168.0.227 |
| root | localhost |
| root | sotrage.castrading.com |
| hive | storage.castrading.com |
| root | storage.castrading.com |
... View more
03-17-2017
12:23 AM
Host Monitor come under the Cloudera manger server , you could restart sudo service cloudera-scm-server restart
to see if that fix the issue.
... View more
03-17-2017
12:15 AM
Can you restart the Cloudera Manager Agent on that host . to see if it could receive the heart beat
... View more
03-16-2017
11:58 PM
Whats the status of cloudera-scm-server-db and cloudera-scm-server ? Please share your Cloudera Manager Agent logs and Host monitor logs for more insight .
... View more
03-16-2017
11:05 PM
Could you let us know what name is it using instead of your --mapreduce-job-name ? 1 . Could you enable --verbose and trying firing a --mapreduce-job-name in test sqoop import just to see if its the same across all the sqoop commands. 2. whats your mapreduce-framework.name in mapred-site.xml
... View more
03-14-2017
10:39 PM
Sqoop - Teradata connector pre requist - u need a cloudera login u can create one for free. https://www.cloudera.com/downloads/connectors/sqoop/teradata/1-6c5.html U need Teradata login credentials . just register with them . https://www.teradata.com/registration.aspx https://downloads.teradata.com/download/connectivity/jdbc-driver https://downloads.teradata.com/download/connectivity/jdbc-driver
... View more