cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay Zhuang (JIRA)" <j...@apache.org>
Subject [jira] [Assigned] (CASSANDRA-11431) java: error: unmappable character for encoding ASCII
Date Tue, 20 Dec 2016 21:36:58 GMT

     [ https://issues.apache.org/jira/browse/CASSANDRA-11431?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Jay Zhuang reassigned CASSANDRA-11431:
--------------------------------------

    Assignee: Jay Zhuang

> java: error: unmappable character for encoding ASCII
> ----------------------------------------------------
>
>                 Key: CASSANDRA-11431
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-11431
>             Project: Cassandra
>          Issue Type: Bug
>         Environment: java version "1.7.0_95"
> OpenJDK Runtime Environment (IcedTea 2.6.4) (7u95-2.6.4-0ubuntu0.15.10.1)
> OpenJDK 64-Bit Server VM (build 24.95-b01, mixed mode)
> Linux 22be6fbead2c 4.2.0-34-generic #39-Ubuntu SMP Thu Mar 10 22:11:28 UTC 2016 ppc64le
ppc64le ppc64le GNU/Linux
>            Reporter: Lorena Pesantez
>            Assignee: Jay Zhuang
>              Labels: lhf
>
> I saw this closed issue with the exact same signature as the one I encountered, so cloning...
 I fixed the errors below by adding the line "<compilerarg line="-encoding utf-8"/>"
after lines 727 and 1089 of the cassandra/build.xml file.  I am working PerfKitBenchmarker,
so the workload must build on my platform (ppc64) without any changes after cloning it from
github.  Thanks!
> build-project:
>      [echo] apache-cassandra: /tmp/pkb/cassandra/build.xml
>     [javac] Compiling 997 source files to /tmp/pkb/cassandra/build/classes/main
>     [javac] /tmp/pkb/cassandra/src/java/org/apache/cassandra/net/OutboundTcpConnection.java:106:
error: unmappable character for encoding ASCII
>     [javac]             logger.info("OutboundTcpConnection coalescing window set to "
+ coalescingWindow + "??s");
>     [javac]                                                                         
                       ^
>     [javac] /tmp/pkb/cassandra/src/java/org/apache/cassandra/net/OutboundTcpConnection.java:106:
error: unmappable character for encoding ASCII
>     [javac]             logger.info("OutboundTcpConnection coalescing window set to "
+ coalescingWindow + "??s");
>     [javac]                                                                         
                        ^
>     [javac] /tmp/pkb/cassandra/src/java/org/apache/cassandra/utils/CoalescingStrategies.java:172:
error: unmappable character for encoding ASCII
>     [javac]                 logger.info(toString() + " gap " + TimeUnit.NANOSECONDS.toMicros(averageGap)
+ "??s");
>     [javac]                                                                         
                       ^
>     [javac] /tmp/pkb/cassandra/src/java/org/apache/cassandra/utils/CoalescingStrategies.java:172:
error: unmappable character for encoding ASCII
>     [javac]                 logger.info(toString() + " gap " + TimeUnit.NANOSECONDS.toMicros(averageGap)
+ "??s");
>     [javac]                                                                         
                        ^
>     [javac] 4 errors
> BUILD FAILED
> /tmp/pkb/cassandra/build.xml:723: Compile failed; see the compiler error output for details.
> build-test:
>     [javac] Compiling 263 source files to /tmp/pkb/cassandra/build/test/classes
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:38:
error: unmappable character for encoding ASCII
>     [javac]         execute("INSERT INTO %s (k, c, v, s) VALUES ('??', '??', '??', {'??'})");
>     [javac]                                                       ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:38:
error: unmappable character for encoding ASCII
>     [javac]         execute("INSERT INTO %s (k, c, v, s) VALUES ('??', '??', '??', {'??'})");
>     [javac]                                                        ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:38:
error: unmappable character for encoding ASCII
>     [javac]         execute("INSERT INTO %s (k, c, v, s) VALUES ('??', '??', '??', {'??'})");
>     [javac]                                                             ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:38:
error: unmappable character for encoding ASCII
>     [javac]         execute("INSERT INTO %s (k, c, v, s) VALUES ('??', '??', '??', {'??'})");
>     [javac]                                                              ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:38:
error: unmappable character for encoding ASCII
>     [javac]         execute("INSERT INTO %s (k, c, v, s) VALUES ('??', '??', '??', {'??'})");
>     [javac]                                                                   ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:38:
error: unmappable character for encoding ASCII
>     [javac]         execute("INSERT INTO %s (k, c, v, s) VALUES ('??', '??', '??', {'??'})");
>     [javac]                                                                    ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:38:
error: unmappable character for encoding ASCII
>     [javac]         execute("INSERT INTO %s (k, c, v, s) VALUES ('??', '??', '??', {'??'})");
>     [javac]                                                                         
^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:38:
error: unmappable character for encoding ASCII
>     [javac]         execute("INSERT INTO %s (k, c, v, s) VALUES ('??', '??', '??', {'??'})");
>     [javac]                                                                         
 ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:41:
error: unmappable character for encoding ASCII
>     [javac]                    row("??", "??", set("??"), "??"));
>     [javac]                         ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:41:
error: unmappable character for encoding ASCII
>     [javac]                    row("??", "??", set("??"), "??"));
>     [javac]                          ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:41:
error: unmappable character for encoding ASCII
>     [javac]                    row("??", "??", set("??"), "??"));
>     [javac]                               ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:41:
error: unmappable character for encoding ASCII
>     [javac]                    row("??", "??", set("??"), "??"));
>     [javac]                                ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:41:
error: unmappable character for encoding ASCII
>     [javac]                    row("??", "??", set("??"), "??"));
>     [javac]                                         ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:41:
error: unmappable character for encoding ASCII
>     [javac]                    row("??", "??", set("??"), "??"));
>     [javac]                                          ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:41:
error: unmappable character for encoding ASCII
>     [javac]                    row("??", "??", set("??"), "??"));
>     [javac]                                                ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:41:
error: unmappable character for encoding ASCII
>     [javac]                    row("??", "??", set("??"), "??"));
>     [javac]                                                 ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:45:
error: unmappable character for encoding ASCII
>     [javac]                    row("??", "??", set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                         ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:45:
error: unmappable character for encoding ASCII
>     [javac]                    row("??", "??", set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                          ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:45:
error: unmappable character for encoding ASCII
>     [javac]                    row("??", "??", set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                               ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:45:
error: unmappable character for encoding ASCII
>     [javac]                    row("??", "??", set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:45:
error: unmappable character for encoding ASCII
>     [javac]                    row("??", "??", set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                         ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:45:
error: unmappable character for encoding ASCII
>     [javac]                    row("??", "??", set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                          ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:45:
error: unmappable character for encoding ASCII
>     [javac]                    row("??", "??", set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                                                     ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:45:
error: unmappable character for encoding ASCII
>     [javac]                    row("??", "??", set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                                                      ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:49:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), "??", set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                              ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:49:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), "??", set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                               ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:49:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), "??", set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                                     ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:49:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), "??", set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                                      ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:49:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), "??", set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                                               ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:49:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), "??", set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                                                ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:49:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), "??", set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                                                         
                 ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:49:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), "??", set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                                                         
                  ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:53:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), ByteBufferUtil.bytes("??"),
set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                              ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:53:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), ByteBufferUtil.bytes("??"),
set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                               ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:53:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), ByteBufferUtil.bytes("??"),
set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                                                         
^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:53:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), ByteBufferUtil.bytes("??"),
set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                                                         
 ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:53:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), ByteBufferUtil.bytes("??"),
set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                                                         
           ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:53:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), ByteBufferUtil.bytes("??"),
set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                                                         
            ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:53:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), ByteBufferUtil.bytes("??"),
set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                                                         
                                       ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:53:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), ByteBufferUtil.bytes("??"),
set("??"), ByteBufferUtil.bytes("??")));
>     [javac]                                                                         
                                        ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:57:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), ByteBufferUtil.bytes("??"),
set(ByteBufferUtil.bytes("??")), ByteBufferUtil.bytes("??")));
>     [javac]                                              ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:57:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), ByteBufferUtil.bytes("??"),
set(ByteBufferUtil.bytes("??")), ByteBufferUtil.bytes("??")));
>     [javac]                                               ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:57:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), ByteBufferUtil.bytes("??"),
set(ByteBufferUtil.bytes("??")), ByteBufferUtil.bytes("??")));
>     [javac]                                                                         
^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:57:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), ByteBufferUtil.bytes("??"),
set(ByteBufferUtil.bytes("??")), ByteBufferUtil.bytes("??")));
>     [javac]                                                                         
 ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:57:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), ByteBufferUtil.bytes("??"),
set(ByteBufferUtil.bytes("??")), ByteBufferUtil.bytes("??")));
>     [javac]                                                                         
                                ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:57:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), ByteBufferUtil.bytes("??"),
set(ByteBufferUtil.bytes("??")), ByteBufferUtil.bytes("??")));
>     [javac]                                                                         
                                 ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:57:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), ByteBufferUtil.bytes("??"),
set(ByteBufferUtil.bytes("??")), ByteBufferUtil.bytes("??")));
>     [javac]                                                                         
                                                             ^
>     [javac] /tmp/pkb/cassandra/test/unit/org/apache/cassandra/cql3/validation/operations/UpdateTest.java:57:
error: unmappable character for encoding ASCII
>     [javac]                    row(ByteBufferUtil.bytes("??"), ByteBufferUtil.bytes("??"),
set(ByteBufferUtil.bytes("??")), ByteBufferUtil.bytes("??")));
>     [javac]                                                                         
                                                              ^
>     [javac] 48 errors
> BUILD FAILED



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message