Member since
09-01-2019
14
Posts
2
Kudos Received
1
Solution
My Accepted Solutions
Title | Views | Posted |
---|---|---|
971 | 09-06-2019 03:18 AM |
09-25-2019
02:03 AM
2019-09-25 15:27:04,797 INFO scm-web-56864:com.cloudera.enterprise.JavaMelodyFacade: Entering HTTP Operation: Method:POST, Path:/services/7/serviceSummary 2019-09-25 15:27:04,798 INFO scm-web-56365:com.cloudera.enterprise.JavaMelodyFacade: Entering HTTP Operation: Method:POST, Path:/services/7/healthStatusBar 2019-09-25 15:27:04,817 INFO scm-web-56864:com.cloudera.enterprise.JavaMelodyFacade: Exiting HTTP Operation: Method:POST, Path:/services/7/serviceSummary, Status:200 2019-09-25 15:27:04,819 INFO scm-web-56365:com.cloudera.enterprise.JavaMelodyFacade: Exiting HTTP Operation: Method:POST, Path:/services/7/healthStatusBar, Status:200 2019-09-25 15:27:09,886 WARN avro-servlet-hb-processor-10:com.cloudera.server.cmf.AgentProtocolImpl: Received an optimized heartbeat for a host with ID '21db8408-a064-49b4-a9e5-5a207b9c40fe ' that is not recognized
... View more
09-25-2019
01:56 AM
Cloudera agent is not able to communicate with cloudera manager server. giving error invalid uuid. I have checked the uuid its correct. In server logs it is taking some different uuid.
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Cloudera Essentials
09-11-2019
02:08 AM
@EricL Hi Eric it was pointing to wrong spark conf so I replaced it with the new one. But now its giving me another error. I will open anew thread for another error.
... View more
09-09-2019
12:45 AM
Hi Eric please see the attached error logs. @EricL
... View more
09-06-2019
03:18 AM
CREATE TABLE IF NOT EXISTS mydb.employees ( name STRING COMMENT 'Employee name', salary FLOAT COMMENT 'Employee salary', subordinates ARRAY<STRING> COMMENT 'Names of subordinates', deductions MAP<STRING, FLOAT> COMMENT 'Keys are deductions names, values are percentages', address STRUCT<street:STRING, city:STRING, state:STRING, zip:INT> COMMENT 'Home address') COMMENT 'Description of the table' TBLPROPERTIES ('creator'='me', 'created_at'='2012-01-02 10:00:00', ...) LOCATION '/user/hive/warehouse/mydb.db/employees'; you can use struct as given in example.
... View more
09-06-2019
03:11 AM
while running a normal spark job SparkContext is not getting initialized giving below error: [Thread-6] ERROR org.apache.spark.SparkContext - Error initializing SparkContext. org.apache.hadoop.ipc.RemoteException(org.apache.hadoop.ipc.StandbyException): Operation category READ is not supported in state standby. I believe it is pointing to standby NN. This error is coming after we enabled Namenode HA in our cloudera's cluster. I have checked hive-site.xml, core-site.xml and spark-defaults.xml. These all are havinf correct configs pointing to nameservice id.
... View more
Labels:
- Labels:
-
Apache Spark
-
Apache YARN
-
Apache Zookeeper
09-02-2019
07:36 PM
Hi Team, I was trying to read data from kafka topics by using hive table. SInce my data is in avro format so trying to create a hive using below statement: CREATE EXTERNAL TABLE kafka_t_avro (`timestamp` timestamp , `page` string, `newPage` boolean, added int, deleted bigint, delta double) STORED BY 'org.apache.hadoop.hive.kafka.KafkaStorageHandler' TBLPROPERTIES ("kafka.topic" = "topic-name", "kafka.bootstrap.servers"="hostname:9092", "kafka.serde.class"="org.apache.hadoop.hive.serde2.avro.AvroSerDe"); It is giving me below error: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: MetaException(message:java.lang.ClassNotFoundException Class org.apache.hadoop.hive.kafka.KafkaSerDe not found). I have added the below jars in my class path: kafka-handler-3.1.0.3.1.0.0-78.jar; hive-serde-0.10.0.jar; hive-exec-3.1.0.3.1.0.0-78.jar; @jsensharma
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Hive
-
Apache Kafka
09-02-2019
07:29 PM
Thanks jay!!! I am starting a new thread.
... View more
09-02-2019
03:22 AM
Hi jay, That issue get resolved but then I tried altering table it was giving me error: hive> ALTER TABLE kafka_table SET TBLPROPERTIES ("kafka.serde.class"="org.apache.hadoop.hive.serde2.avro.AvroSerDe"); FAILED: SemanticException [Error 10134]: ALTER TABLE cannot be used for a non-native table kafka_table So I dropped that table ad try creating a new one having below statements: CREATE EXTERNAL TABLE kafka_t_avro (`timestamp` timestamp , `page` string, `newPage` boolean, added int, deleted bigint, delta double) STORED BY 'org.apache.hadoop.hive.kafka.KafkaStorageHandler' TBLPROPERTIES ("kafka.topic" = "topic-name", "kafka.bootstrap.servers"="hostname:9092", "kafka.serde.class"="org.apache.hadoop.hive.serde2.avro.AvroSerDe"); Itsi sgiving me below error: FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException: MetaException(message:java.lang.ClassNotFoundException Class org.apache.hadoop.hive.kafka.KafkaSerDe not found)
... View more
09-01-2019
08:36 PM
I am trying to create hive table to read data from kafka topics. I am using CDH 6.2.0. I am adding the below jar before creating the table : kafka-handler-3.1.0.3.1.0.0-78.jar; hive-serde-0.10.0.jar; hive-metastore-0.9.0.jar; below is the create table statement: CREATE EXTERNAL TABLE kafka_table (`timestamp` timestamp , `page` string, `newPage` boolean, added int, deleted bigint, delta double) STORED BY 'org.apache.hadoop.hive.kafka.KafkaStorageHandler' TBLPROPERTIES ("kafka.topic" = "topic-name", "kafka.bootstrap.servers"="hostname:9092"); giving me below error: Caused by: java.lang.ClassNotFoundException: org.apache.hadoop.hive.metastore.DefaultHiveMetaHook org/apache/hadoop/hive/metastore/DefaultHiveMetaHook Error: Error running query: java.lang.NoClassDefFoundError: org/apache/hadoop/hive/metastore/DefaultHiveMetaHook (state=,code=0)
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Hive
-
Apache Kafka