Member since
05-30-2018
1322
Posts
715
Kudos Received
148
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 4047 | 08-20-2018 08:26 PM | |
| 1947 | 08-15-2018 01:59 PM | |
| 2374 | 08-13-2018 02:20 PM | |
| 4106 | 07-23-2018 04:37 PM | |
| 5013 | 07-19-2018 12:52 PM |
07-26-2016
04:03 PM
1 Kudo
You have to use arithmetic operation like X = FOREACH A GENERATE f2, (f2==1?1:COUNT(B)); Or embed pig in wrapper http://pig.apache.org/docs/r0.11.0/cont.html#embed-python
... View more
07-26-2016
03:09 PM
@Pedro Rodgers I would use the GetMinute, GetSecond, Get MilliSecond functions.
... View more
07-26-2016
02:56 PM
An example of how to add service princple to keytab denver # /usr/sbin/kadmin
kadmin: ktadd host/denver@example.com@EXAMPLE.COM
kadmin: Entry for principal host/denver@example.com@EXAMPLE.COM with kvno 2,
encryption type DES-CBC-CRC added to keytab WRFILE:/etc/krb5/krb5.keytab.
kadmin: quit
... View more
07-25-2016
09:42 PM
You can do this by setting a parameter with start and end time. For example <property>
<name>the_timestamp</name>
<value>${timestamp()}</value>
<property> Set that to start time and another to end time when you hit a action. For information on oozie emails here: https://oozie.apache.org/docs/3.3.0/DG_EmailActionExtension.html
... View more
07-25-2016
09:35 PM
I am looking for an example PQS connection url which has kerberos params. My cluster is kerberized and the example on the apache phoenix site shows this as example: jdbc:phoenix:thin:url=<scheme>://<server-hostname>:<port>[...] The site documents the kerberos params. However I would like to see a working example. Any example appreciated. Extra Info: Configurations relating to server connecting to a secure cluster. Property Description Default hbase.security.authentication When set to "kerberos", the server will attempt to log in before initiating Phoenix connections. Specified hbase-default.xml phoenix.queryserver.keytab.file The key to look for keytab file. unset phoenix.queryserver.kerberos.principal The kerberos principal to use when authenticating. unset phoenix.queryserver.dns.nameserver The DNS hostname default phoenix.queryserver.dns.interface The name of the network interface to query for DNS. default
... View more
Labels:
- Labels:
-
Apache HBase
-
Apache Phoenix
07-25-2016
08:22 PM
@Neeraj Tandel here is good example http://www.hadooptpoint.com/how-to-write-hive-udf-example-in-java/
... View more
07-25-2016
07:41 PM
@Neeraj Tandel I would start by looking at the apache site and looking for UDF samples. Tons of information on the web on how to build simple UDF. I would start there and build out your UDF.
... View more
07-25-2016
03:52 AM
@Benjamin Leonhardi well now were getting somewhere. I am going to try hive.tez.exec.print.summary to find some additional analysis points. But goes back to my main question. Does ORC make sense in this use case when I want to fetch all (or almost all columns)?
... View more
07-24-2016
05:29 AM
If you are concerned about memory you can persist the data to hdfs and once the window period is over recombine all persisted data and push to your hour location.
... View more