Sorry... I forgot that ACCUMULO-1399 hasn't been released. You'll have to use the java API, possibly through one of the many java-compatible languages (java, scala, jython, jruby, etc).
-Eric On Mon, Jul 15, 2013 at 11:50 AM, Eric Newton <[email protected]> wrote: > 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>**** >> > >
