Member since
09-24-2015
527
Posts
136
Kudos Received
19
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
2340 | 06-30-2017 03:15 PM | |
3400 | 10-14-2016 10:08 AM | |
8671 | 09-07-2016 06:04 AM | |
10500 | 08-26-2016 11:27 AM | |
1574 | 08-23-2016 02:09 PM |
03-19-2016
06:53 PM
1 Kudo
Hi: I tried it but not working well look: beeline -u jdbc:hive2://hostname:10000 -n xxxx -p xxxx -f /home/hdfs/scripts/hive/store_wordcount.hql --hivevar day=2016/3/01
and inside de hql script that
LOAD DATA INPATH '/RSI/staging/output/wordcount/${day}' OVERWRITE INTO TABLE temp_wordcount_v3;
the output is. Error: Error while compiling statement: FAILED: SemanticException Line 1:17 Invalid path ''/RSI/staging/output/wordcount//3/'': No files matching path hdfs://lnxbig05.cajarural.gcr:8020/RSI/staging/output/wordcount/3 (state=42000,code=40000)
... View more
03-19-2016
01:27 PM
3 Kudos
Hi: I am trying to execute this and pass the parameter "20160301" to beeline script but doesnt work: beeline -u jdbc:hive2://hostname:10000 -n xxxx -p xxxx -f /home/hdfs/scripts/hive/store_wordcount.hql 20160301
Any idea how to pas this parameter?? Thanks
... View more
Labels:
- Labels:
-
Apache Hive
03-16-2016
10:36 AM
1 Kudo
thanks, but what i need is to connect to the derby shell to make queries
... View more
03-16-2016
10:19 AM
2 Kudos
Hi: How can i connect to the oozie DERBYDB database?? i need to make a backup to update de HDP, and also y want to look the schema. Thanks
... View more
Labels:
- Labels:
-
Apache Oozie
03-09-2016
07:25 PM
2 Kudos
Hi: after try to insert to hive table bucket i receive this error: Caused by: org.apache.hive.hcatalog.common.HCatException : 2016 : Error operation not supported : Store into a partition with bucket definition from Pig/Mapreduce is not supported
I am using this : STORE f INTO 'default.canal_v4' USING org.apache.hive.hcatalog.pig.HCatStorer();
please from pig how can i insert to hive with bucket??? any other option to performance this??' thanks
... View more
Labels:
- Labels:
-
Apache HCatalog
-
Apache Hive
-
Apache Pig
03-09-2016
03:49 PM
1 Kudo
HI: i an trying tio creatte ORC, buckered table and insert and delete from hcatalog with pig, i create the table like this: CREATE EXTERNAL TABLE canal_v4(
CODTF string,
CODNRBEENF string,
FECHAOPRCNF date,
CANAL string,
FRECUENCIA int,
year string,
month string)
COMMENT 'A bucketed canal table'
CLUSTERED BY (codnrbeenf) INTO 25 BUCKETS
ROW FORMAT DELIMITED
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'
stored as ORC
LOCATION '/RSI/tables/logs/canal_v4'
TBLPROPERTIES ("immutable"="false");
how can i Insert with Pig??? i need somenthing?? is good to use partitioned with bucked?? Thanks
... View more
03-07-2016
11:33 AM
1 Kudo
Hi: After create a table with partition and try to delete i receive this error: set hive.support.concurrency=true
set hive.enforce.bucketing=true
set hive.exec.dynamic.partition.mode=nonstrict
set hive.txn.manager=org.apache.hadoop.hive.ql.lockmgr.DbTxnManager
set hive.compactor.initiator.on = true
set hive.compactor.worker.threads = 1
delete from wordcount_delete where word='amazon';
0: jdbc:hive2://lnxbig05.cajarural.gcr:10000> delete from roberto_delete where word="amazon";
Error: Error while compiling statement: FAILED: SemanticException [Error 10001]: Table not found default.roberto_delete (state=42S02,code=10001)
the table need to be with kust with bucket??
... View more
03-07-2016
10:55 AM
2 Kudos
Hi: Please how can i delete some row in hive from beeline or hue or sqldeveloper? CREATE EXTERNAL TABLE roberto_delete(
WORD string
)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY ','
LINES TERMINATED BY '\n'
stored as ORC
LOCATION '/RSI/tables/logs/roberto_delete'
TBLPROPERTIES ("immutable"="false");
I set this atributes: 0: jdbc:hive2://lnxbig05.cajarural.gcr:10000> delete from roberto_delete where word='1';
Error: Error while compiling statement: FAILED: SemanticException [Error 10294]: Attempt to do update or delete using transaction manager that does not support these operations. (state=42000,code=10294)
after activate ACID y see this error: Error: Error while compiling statement: FAILED: SemanticException [Error 10297]: Attempt to do update or delete on table default.roberto_delete that does not use an AcidOutputFormat or is not bucketed (state=42000,code=10297)
Please how can i delete one row??
... View more
Labels:
- Labels:
-
Apache Hive
03-07-2016
10:36 AM
Hi: After install the H2o cluster i run some algoritmict, i can say it very good 🙂 Many thanks.
... View more