Member since
10-05-2015
105
Posts
83
Kudos Received
25
Solutions
My Accepted Solutions
Title | Views | Posted |
---|---|---|
1312 | 07-13-2017 09:13 AM | |
1553 | 07-11-2017 10:23 AM | |
784 | 07-10-2017 10:43 AM | |
3606 | 03-23-2017 10:32 AM | |
3554 | 03-23-2017 10:04 AM |
11-07-2016
11:52 AM
After creating the table you can create view like below CREATE VIEW "TESTVIEW" AS SELECT * FROM "TEST" or else if you want to map HBase table as view or read only you can just try without select query. CREATE VIEW "TEST" ( pk VARCHAR PRIMARY KEY ,"b"."message" VARCHAR )
If this solves the problem mark it as best answer.
... View more
11-07-2016
11:18 AM
1 Kudo
First you can map the table created in HBase to Phoenix with create table query as mentioned in "Mapping to an Existing HBase Table" at phoenix.apache.org and then create view on it.
... View more
11-01-2016
10:28 AM
1 Kudo
@Hanife Shaik You can pick HBase/Cassandra based on your application type of queries you are going to use in the application for dashboards/reports. Write performance is better in both HBase/Cassandra. HBase performs very well for range or point queries. You can try HBase and Phoenix combo for simplifying your application development. Also you can try Phoenix ODBC driver https://hortonworks.com/wp-content/uploads/2016/08/phoenix-ODBC-guide.pdf or .net driver https://www.nuget.org/packages/Microsoft.Phoenix.Client/
... View more
10-27-2016
08:36 AM
@vamsi valiveti bq. 1)what is the meaning of COUNTER VALUE = 23 i can see cf1:no3 is incremented to 3 but i did not what is meant by COUNTER VALUE = 23? COUNTER VALUE printed is latest value after incrementing the value to specified number. In your case the column value before incrementing might be 20. => Hbase::Table - test
hbase(main):013:0> incr 'test', 'spam', 'foo:bar', 1
COUNTER VALUE = 1
0 row(s) in 0.0080 seconds
hbase(main):014:0> incr 'test', 'spam', 'foo:bar', 1
COUNTER VALUE = 2
0 row(s) in 0.0060 seconds
hbase(main):015:0> incr 'test', 'spam', 'foo:bar', 1
COUNTER VALUE = 3
0 row(s) in 0.0040 seconds bq. 2)How to identify no of rows[3 row(s)]?Is it no of distinct keys present in HBASE table? Yes. It's distinct row keys in the table. bq. 3)The below command is showing following error.can not we use incr on existing column in HBASE? Yes we cannot use incr on existing column. The column value should be initialized with incr only.
... View more
10-25-2016
08:18 AM
The class is from hbase-server.jar. You can add /usr/hdp/2.4.0.0-169/phoenix/lib/hbase-server.jar to classpath and try.
... View more
10-21-2016
07:09 AM
HBase 1.1.2 well tested and stable so sticked to it in HDP 2.5.
... View more
10-21-2016
06:34 AM
Are you facing any specific issue with HDP 2.5 HBase version?
... View more
10-18-2016
03:32 AM
2 Kudos
CREATE TABLE ddl statement automatically creates HBase table. http://phoenix.apache.org/language/index.html#create_table Similary DROP and ALTER TABLE statements drop, alter HBase tables. Here is the full list of queries supported by Phoenix. http://phoenix.apache.org/language/index.html
... View more
10-10-2016
09:22 AM
2 Kudos
@mayki wogno There is a chance that the master might be went down while creating the znode or system catalog table data might be deleted from hdfs You can connect to zookeeper and remove the znode from zookeeper and create connection. The znode path is {zookeeper.znode.parent}/table/SYSTEM.CATALOG. Connect to zookeeper with this command ./hbase zkcli Remove znode from zk client: rmr /hbase-unsecure/table/SYSTEM.CATLOG
... View more
10-05-2016
05:49 AM
@Yukti Agrawal You are just passing :/hbase only. [user@ bin]$ sqlline.py :/hbase You need to pass <zookeeer_quorum>:<zk_client_port>:<hbase_parent_znode> For ex: [user@ bin]$ sqlline.py localhost:2181:/hbase
... View more