Member since
09-28-2015
34
Posts
10
Kudos Received
4
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
993 | 01-20-2016 08:09 PM | |
4621 | 12-08-2015 09:50 PM | |
834 | 12-02-2015 10:42 PM | |
1773 | 10-09-2015 05:28 PM |
12-08-2015
07:44 PM
Java code: DataFrame peopleDataFrame = sqlContext.createDataFrame(rowRDD, schema); HiveContext hiveContext = new org.apache.spark.sql.hive.HiveContext( jsc.sc() ); hiveContext.sql("CREATE TABLE IF NOT EXISTS people_t1 (emp_id string, first_name string, last_name string, job_title string, mgr_emp_id string)"); // Register the DataFrame as a table. peopleDataFrame.registerTempTable("people"); .... peopleDataFrame.insertInto("default.people_t1", true); Got: java.lang.RuntimeException: Table Not Found: default.people_t1 While table does exist in Hive: hive> describe people_t1; OK emp_id string first_name string last_name string job_title string mgr_emp_id string Time taken: 0.284 seconds, Fetched: 5 row(s)
... View more
Labels:
- Labels:
-
Apache Spark
12-02-2015
10:42 PM
Figured it out: Note that the last column must have a defined end though; "71-" will cause an error.
... View more
12-02-2015
10:28 PM
Using our sandbox to load fixed-width file using pig: https://martin.atlassian.net/wiki/pages/viewpage.action?pageId=21299205 dump or store into works fine; however, when running with FixedWidthStorer, the job hanging--- no error:
store employees into '/user/root/emps-regenerated' USING org.apache.pig.piggybank.storage.FixedWidthStorer('-10, 11-30, 31-50, 51-70, 71-','SKIP_HEADER'); 2015-12-02 18:35:39,386 [JobControl] INFO org.apache.hadoop.mapreduce.Job - The url to track the job: http://sandbox.hortonworks.com:8088/proxy/application_1449078859822_0001/
2015-12-02 18:35:39,387 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - HadoopJobId: job_1449078859822_0001
2015-12-02 18:35:39,387 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - Processing aliases employees
2015-12-02 18:35:39,387 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - detailed locations: M: employees[1,12] C: R:
2015-12-02 18:35:39,400 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - 0% complete
2015-12-02 18:35:39,400 [main] INFO org.apache.pig.backend.hadoop.executionengine.mapReduceLayer.MapReduceLauncher - Running jobs are [job_1449078859822_0001]
... View more
Labels:
- Labels:
-
Apache Hadoop
-
Apache Pig
11-17-2015
08:30 PM
2 Kudos
Abbott has a third party tool, QlikView, which needs to run Hive queries. Suppose our cluster is kerberized via existing AD. Once HDP cluster is kerberized, QlikView needs to be kerberized as well----it can get through Knox, but let's take Knox out of the picture for this discussion. My questions are: 1. since both QlikView and HDP cluster are kerberized via the same AD,
QlikView ticket should be recognized by HDP cluster. But, is there any
extra setting needed? do we need to put QlikView service Account to
OU=HadoopService? 2. QlikView is a server, user can log in to QlikView through AD. I
believe Hive ACLs applies to each individual user no matter they are via
QlikView or not --- this question is more like to QlikView guy, not us.
... View more
Labels:
11-12-2015
06:18 PM
we did run "-refreshQueues", it does not complain, but unlisted user can submit jobs...
... View more
11-12-2015
06:12 PM
HDP 2.2.8, Ambari 2.1.2, non-kerberoized cluster. Client is trying to turn on capacity queue ACL--- only certain users are allowed to submit jobs to a queue; but unlisted users can still submit queues after "save and refresh queues". Also, got this error wheile refreshServiceAcl [nveyarn@hg003rdv ~]$ yarn rmadmin -refreshServiceAcl refreshServiceAcl: java.io.IOException: Service Authorization (hadoop.security.authorization) not enabled.
... View more
Labels:
- Labels:
-
Apache YARN
11-10-2015
06:57 PM
Forgot to mention, user does not want to show his password in plaintext, he wants to type in prompt...
... View more
11-10-2015
06:57 PM
Forgot to mention, user does not want to show his password in plaintext, he wants to type in prompt...
... View more
11-10-2015
06:05 PM
Client tries to execute hive sql inside a file via Beeline. Anyone has working sample of how to use "beeline -u <url> -n <user> -f <file> -p <password>"? I have tried this, but does not work.
... View more
Labels:
- Labels:
-
Apache Hive
- « Previous
-
- 1
- 2
- Next »