Member since
09-06-2016
108
Posts
36
Kudos Received
11
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2520 | 05-11-2017 07:41 PM | |
1186 | 05-06-2017 07:36 AM | |
6617 | 05-05-2017 07:00 PM | |
2316 | 05-05-2017 06:52 PM | |
6354 | 05-02-2017 03:56 PM |
05-03-2017
05:07 PM
Looks like you are using $now vs. the syslog datetime for the rollover. Is there a reason for that? I expect to use the source (syslog) timestamp for the rollover, so you will have only matching timestamps in the hdfs file.
... View more
05-02-2017
04:43 PM
Looks like any db with a JDBC driver, but I personally never used this handler, so can't vouch for it. I would recommend to test it for you DB's (MySQL, Oracle, db2...).
... View more
05-02-2017
03:56 PM
2 Kudos
Hi, There is a Hive Storage Handler for JDBC that allows you to do this: https://github.com/qubole/Hive-JDBC-Storage-Handler Example HQL: DROP TABLE HiveTable;
CREATE EXTERNAL TABLE HiveTable(
id INT,
id_double DOUBLE,
names STRING,
test INT
)
STORED BY 'org.apache.hadoop.hive.jdbc.storagehandler.JdbcStorageHandler'
TBLPROPERTIES (
"mapred.jdbc.driver.class"="com.mysql.jdbc.Driver",
"mapred.jdbc.url"="jdbc:mysql://localhost:3306/rstore",
"mapred.jdbc.username"="root",
"mapred.jdbc.input.table.name"="JDBCTable",
"mapred.jdbc.output.table.name"="JDBCTable",
"mapred.jdbc.password"="",
"mapred.jdbc.hive.lazy.split"= "false"
);
... View more
05-01-2017
04:20 PM
I was recommended to turn if off as it was providing duplicate functionality.
... View more
05-01-2017
02:18 PM
Hi, From the error msg it looks like it tries to load data from an non existing directory: hdfs://hdp2cluster/user/bpanneer/temp_090133 : Invalid path ''/user/bpanneer/temp_090133'': No files matching path hdfs://hdp2cluster/user/bpanneer/temp_090133 Is this path available on HDFS?
... View more
05-01-2017
02:10 PM
Hi Mark, That's no good! Can you please send an e-mail with this question to certification@hortonworks.com? Feel free to cc me wbekker@hortonworks.com Ward
... View more
05-01-2017
01:57 PM
1 Kudo
Hi @heta desai, You can execute it via the exec command, for example: grunt> cat myscript.pig
a = LOAD 'student' AS (name, age, gpa);
b = LIMIT a 3;
DUMP b;
grunt> exec myscript.pig
(alice,20,2.47)
(luke,18,4.00)
(holly,24,3.27) See also: https://pig.apache.org/docs/r0.9.1/cmds.html#exec
... View more
05-01-2017
01:37 PM
Does that mean that zookeeper service discovery mode can not be used with a mixed HiveServer2 transport mode client setup?
... View more
04-27-2017
09:04 AM
Thx Deepesh. When I explicitly want the client to use http transport mode ('transportMode=http'), does Zookeeper Service Discovery Mode support that?
... View more
04-25-2017
07:40 AM
Hi Pathan, You can always install them via the Linux CLI on the nodes using the service standard install process. You can then proceed to create a customer service for ambari, that allows you to add, start and stop the service through Ambari: https://community.hortonworks.com/articles/43816/how-to-createadd-the-service-stop-the-service.html
... View more