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>