Giter Club home page Giter Club logo

starbase's People

Contributors

1tylermitchell avatar barseghyanartur avatar bitdeli-chef avatar cronjefourie avatar jarno-r avatar josiasjr avatar ziogas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

starbase's Issues

support scan timestamp range?

hello, startbase support scan timestamp range ?

i can not find startbase doc abort timestamp range...

tks very much !!!

I got empty table list using star base?

Hello All:

(1) I install starbase and write a python script:

from starbase import Connection
c = Connection(host='192.168.1.11', port=8022)
print c.tables()


but I got empty table list:
[]

(2) Use hbase shell:

[hdfs@hdp01~]$ hbase shell
15/12/07 16:47:50 INFO Configuration.deprecation: hadoop.native.lib is deprecated. Instead, use io.native.lib.available
HBase Shell; enter 'help' for list of supported commands.
Type "exit" to leave the HBase Shell
Version 0.98.6-cdh5.3.3, rUnknown, Wed Apr 8 15:00:15 PDT 2015

hbase(main):001:0> list
TABLE
mytable
transactions_hbase
users
3 row(s) in 1.8320 seconds

=> ["mytable", "transactions_hbase", "users"]

What's this problem? How can I solve it?
Thank you!!

table.fetch_all_rows() returns None.

Hi, I'm working with the hbase 1.2.6, while fetch works great, but when I do table.fetch_all_rows() it returns None. I don't have huge dataset, as I'm just trying to work with the small data first. I was just wondering why it was not working. Could you please help?

Thanks

Support IncrementColumn

At this time, it is not possible to use increment columns :

With Hbase Shell

hbase(main):066:0> incr 'plop', 'hit_13977231081', 'apache:hit', 5
COUNTER VALUE = 15
hbase(main):067:0> scan 'plop'
 1397723117                            column=apache:url, timestamp=1397723117, value=/blog/article1
 hit_13977231081                       column=apache:hit, timestamp=1397731265432, value=\x00\x00\x00\x00\x00\x00\x00\x0F

From Starbase :

print( table.fetch( 'hit_1397723108' ) )
print( table.fetch( '1397723117' ) )

None
{'apache': {'url': '/blog/article1', 'method': 'GET', 'elapsed': '83'}}

How to store just column and value in the row?

I've created 5 columns using the examples that is shown in the documentation.

And I've a data like this:
{'column1':'value1', 'column2':'value2',column3':'value3', 'column4':'value4', 'column5':'value5'}

while doing t.insert, it throws an error saying "AttributeError: 'unicode' object has no attribute 'items'". Isn't it possible for a column to have just a single string value unlike another object as shown in the documentation?

Table instance _get() method always checks for table existance

Such check might significantly slow down requests on a large scale, because it makes an additional HTTP request per query all the time. This is especially useless if I know my table exists.
It might be better to just surround query with try/except or something?

unable to add dynamic column family

while migrating postgresql data to hadoop hbase using starbase python library .I am unable to dynamically add column family as i have to create it while creating table instance t.create('column1').

Insert / update data with timestamp fails

Has someone managed to insert or update data with a specific timestamp? I made somes test and it works only when the specified timestamp is > than the existing timestamp.

By the way can someone explain me the difference between insert and update?

Best,
lise

not supporting the optional data inserting method claimed

"""
Note, that you may also use the native way of naming the columns and cells (qualifiers). Result of the following would be equal to the result of the previous example.

t.insert(
'my-key-1',
{
'column1:key11': 'value 11', 'column1:key12': 'value 12',
'column1:key13': 'value 13',
'column2:key21': 'value 21', 'column2:key22': 'value 22',
'column3:key32': 'value 31', 'column3:key32': 'value 32'
}
)
"""

This is not supported, tested on version 0.3.3

How can retrieve set of records from hbase using starbase API like fetch or fetch_all_rows

I am new user of starbase, I want to retrieve few records using some condition like start date or end date or some other fields(columns) not keyID field. Is there any other api or any other syntax in starbase.

I checked fetch is used for keyID and fetch_all_rows is using for all record retrieve.

Even I checked fetch_all_rows(with_row_id=False, raw=False, perfect_dict=None, flat=False, filter_string=None, scanner_config={}', fail_silently=True)

row_filter_string = '{"type": "RowFilter", "op": "EQUAL", "comparator": ' '{"type": "RegexStringComparator", "value": "IN825615" }}' here also value is specific keyID only working, I am not getting any proper solution. Is there any other alternative api.

Plz suggest, how can resolve this query issue.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.