Member since
04-22-2016
931
Posts
46
Kudos Received
26
Solutions
My Accepted Solutions
| Title | Views | Posted |
|---|---|---|
| 1862 | 10-11-2018 01:38 AM | |
| 2220 | 09-26-2018 02:24 AM | |
| 2253 | 06-29-2018 02:35 PM | |
| 2933 | 06-29-2018 02:34 PM | |
| 6108 | 06-20-2018 04:30 PM |
03-20-2017
03:46 PM
if I try the example directly given by Hortonworks I get the error [hbase@hadoop1 ~]$ more a.ddl
CREATE TABLE simple_hcat_load_table (id STRING, c1 STRING, c2 STRING)
STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
WITH SERDEPROPERTIES ( 'hbase.columns.mapping' = 'd:c1,d:c2' )
TBLPROPERTIES ( 'hbase.table.name' = 'simple_hcat_load_table'
);
[hbase@hadoop1 ~]$ hcat -f a.ddl
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. MetaException(message:java.lang.RuntimeException: java.lang.NullPointerException
at org.apache.hadoop.hbase.client.RpcRetryingCaller.callWithoutRetries(RpcRetryingCaller.java:208)
... View more
03-20-2017
03:16 PM
I tried the following but I am getting errors : the fields in the file below represent the following data
id lowtemp hightemp vibration lowpressure highpressure
[hbase@hadoop1 ~]$ more a.csv
5842,50,30,4,240,340
5843,52,32,5,250,360
5844,56,31,2,248,333
[hbase@hadoop1 ~]$
[hbase@hadoop1 ~]$
[hbase@hadoop1 ~]$
[hbase@hadoop1 ~]$ more load_csv.ddl
CREATE TABLE load_csv (id STRING, lowtemp STRING, hightemp STRING, vibration STRING, lowpressure STRING, highpressure STRING)
STORED BY 'org.apache.hadoop.hive.hbase.HBaseStorageHandler'
WITH SERDEPROPERTIES ( 'hbase.columns.mapping' = 'temp:lowtemp,temp:hightemp,vibration,pressure:lowpressure,pressure:highpress
ure' )
TBLPROPERTIES ( 'hbase.table.name' = 'load_csv');
[hbase@hadoop1 ~]$
[hbase@hadoop1 ~]$ hcat -f load_csv.ddl
FAILED: Execution Error, return code 1 from org.apache.hadoop.hive.ql.exec.DDLTask. java.lang.RuntimeException:
MetaException(message:org.apache.hadoop.hive.serde2.SerDeException Error: the HBase columns mapping contains a badly formed column family,
column qualifier specification.)
... View more
03-20-2017
02:45 PM
1 Kudo
I found this article from Hortonworks about importing tsv files , how can I apply the same for csv files? http://docs.hortonworks.com/HDPDocuments/HDP2/HDP-2.3.2/bk_importing_data_into_hbase_guide/content/ch_importing_data_into_hbase_chapter.html
... View more
Labels:
01-30-2017
08:03 PM
strange , after I installed it second time now its showing as true
... View more
01-30-2017
07:13 PM
it does show the secondary name node though and with no errors and the journal nodes
... View more
01-27-2017
08:27 PM
I did, I restarted ambari and all the services in ambari , still showing false.
... View more
01-27-2017
08:15 PM
using Ambari I enabled successfully the resource manage HA , but when I see the yarn-site.xml I still see this property as false ? <property>
<name>yarn.resourcemanager.ha.enabled</name>
<value>false</value>
</property>
... View more
Labels:
01-17-2017
10:35 PM
I am using ambari to enable the namenode HA but its not detecting the checkpoint and not advancing the screen . please see below
... View more
Labels: