Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Plain View
Accumulo >> mail # user >> FW: Accumulo -> preventing the insert of "timestamp" values


+
Ott, Charles H. 2013-07-15, 15:41
Copy link to this message
-
Re: FW: Accumulo -> preventing the insert of "timestamp" values
The shell is pretty limited when it comes to quoting and binary data.  You
may want to consider using one of the other scripting languages.  See
ACCUMULO-1399 <https://issues.apache.org/jira/browse/ACCUMULO-1399>.

-Eric

On Mon, Jul 15, 2013 at 11:41 AM, Ott, Charles H. <[EMAIL PROTECTED]>wrote:

> Running Accumulo 1.4.3 and trying to manually insert some timestamps using
> the shell.  The timestamps were actually pulled from a shell scan.  Is
> there something else we can do in order to insert a long via shell?****
>
> ** **
>
> Thanks,****
>
> Charles****
>
> ** **
>
> *From:* Nylander, Carl B.
> *Sent:* Monday, July 15, 2013 11:37 AM
> *To:* Ott, Charles H.
> *Subject:* Accumulo -> preventing the insert of "timestamp" values****
>
> ** **
>
> Charles,****
>
> ** **
>
> Here’s the results when I drop the script into the accumulo shell:****
>
> ** **
>
> root@gm carlTest> deletetable carlTest****
>
> Table: [carlTest] has been deleted.****
>
> root@gm> createtable carlTest****
>
> root@gm carlTest>****
>
> root@gm carlTest> insert 1 details productPacketId 100****
>
> root@gm carlTest> insert 1 details content "Hello World for record 100"***
> *
>
> *root@gm carlTest> insert 1 metadata lastModified
> \x00\x00\x01?\xCE\xDB\xA9&*
>
> *2013-07-15 11:20:04,775 [shell.Shell] ERROR:
> org.apache.accumulo.core.util.BadArgumentException: unsupported non-ascii
> character near index 47*
>
> *insert 1 metadata lastModified \x00\x00\x01?\xCE\xDB\xA9&*
>
>                                                ^****
>
> root@gm carlTest> insert 1 metadata status active****
>
> root@gm carlTest>****
>
> root@gm carlTest> insert 2 details productPacketId 200****
>
> root@gm carlTest> insert 2 details content "Hello World for record 200"***
> *
>
> *root@gm carlTest> insert 2 metadata lastModified
> \x00\x00\x01?\xCE\xCBd\xC5*
>
> *2013-07-15 11:20:04,852 [shell.Shell] ERROR:
> org.apache.accumulo.core.util.BadArgumentException: unsupported non-ascii
> character near index 47*
>
> *insert 2 metadata lastModified \x00\x00\x01?\xCE\xCBd\xC5*
>
>                                                ^****
>
> root@gm carlTest> insert 2 metadata status active****
>
> root@gm carlTest>****
>
+
Eric Newton 2013-07-15, 15:53
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB