accumulo-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sean Busbey (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ACCUMULO-2744) Accepting default regex filter charset gives IllegalCharsetException
Date Mon, 28 Apr 2014 21:21:14 GMT
Sean Busbey created ACCUMULO-2744:
-------------------------------------

             Summary: Accepting default regex filter charset gives IllegalCharsetException
                 Key: ACCUMULO-2744
                 URL: https://issues.apache.org/jira/browse/ACCUMULO-2744
             Project: Accumulo
          Issue Type: Bug
          Components: shell
    Affects Versions: 1.4.5
         Environment: 1.4.5 running on BigTop 0.7.0
            Reporter: Sean Busbey
            Priority: Minor


While setting options for a regex filter, trying to accept default row charset errors:

{noformat}

----------> set RegExFilter parameter encoding, character encoding of byte array value
(default is UTF-8): 
java.io.UnsupportedEncodingException: 
	at java.lang.StringCoding.decode(StringCoding.java:170)
	at java.lang.String.<init>(String.java:443)
	at java.lang.String.<init>(String.java:515)
	at org.apache.accumulo.core.iterators.user.RegExFilter.validateOptions(RegExFilter.java:185)
	at org.apache.accumulo.core.util.shell.commands.SetIterCommand.setUpOptions(SetIterCommand.java:204)
	at org.apache.accumulo.core.util.shell.commands.SetIterCommand.execute(SetIterCommand.java:94)
	at org.apache.accumulo.core.util.shell.commands.SetScanIterCommand.execute(SetScanIterCommand.java:46)
	at org.apache.accumulo.core.util.shell.Shell.execCommand(Shell.java:558)
	at org.apache.accumulo.core.util.shell.Shell.start(Shell.java:442)
	at org.apache.accumulo.core.util.shell.Shell.main(Shell.java:385)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.accumulo.start.Main$1.run(Main.java:95)
	at java.lang.Thread.run(Thread.java:662)
java.io.UnsupportedEncodingException: 
	at java.lang.StringCoding.decode(StringCoding.java:170)
	at java.lang.String.<init>(String.java:443)
	at java.lang.String.<init>(String.java:515)
	at org.apache.accumulo.core.iterators.user.RegExFilter.validateOptions(RegExFilter.java:185)
	at org.apache.accumulo.core.util.shell.commands.SetIterCommand.setUpOptions(SetIterCommand.java:207)
	at org.apache.accumulo.core.util.shell.commands.SetIterCommand.execute(SetIterCommand.java:94)
	at org.apache.accumulo.core.util.shell.commands.SetScanIterCommand.execute(SetScanIterCommand.java:46)
	at org.apache.accumulo.core.util.shell.Shell.execCommand(Shell.java:558)
	at org.apache.accumulo.core.util.shell.Shell.start(Shell.java:442)
	at org.apache.accumulo.core.util.shell.Shell.main(Shell.java:385)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at java.lang.reflect.Method.invoke(Method.java:597)
	at org.apache.accumulo.start.Main$1.run(Main.java:95)
	at java.lang.Thread.run(Thread.java:662)
invalid options for org.apache.accumulo.core.iterators.user.RegExFilter
{noformat}

expected: hitting enter should use default.
workaround: specify UTF-8 instead of relying on default



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Mime
View raw message