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

Michael Shuler updated CASSANDRA-13166:
---------------------------------------
    Fix Version/s:     (was: 3.9)

> Build failures encountered on ppc64le
> -------------------------------------
>
>                 Key: CASSANDRA-13166
>                 URL: https://issues.apache.org/jira/browse/CASSANDRA-13166
>             Project: Cassandra
>          Issue Type: Bug
>          Components: Testing
>         Environment: [root@pts00433-vm5 cassandra]# ant -version
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
> Apache Ant(TM) version 1.9.2 compiled on January 22 2014
> [root@pts00433-vm5 cassandra]# java -version
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
> openjdk version "1.8.0_111"
> OpenJDK Runtime Environment (build 1.8.0_111-b15)
> OpenJDK 64-Bit Server VM (build 25.111-b15, mixed mode)
> [root@pts00433-vm5 cassandra]# lscpu
> Architecture:          ppc64le
> Byte Order:            Little Endian
> CPU(s):                4
> On-line CPU(s) list:   0-3
> Thread(s) per core:    1
> Core(s) per socket:    4
> Socket(s):             1
> NUMA node(s):          1
> Model:                 2.1 (pvr 004b 0201)
> Model name:            POWER8E (raw), altivec supported
> L1d cache:             64K
> L1i cache:             32K
> NUMA node0 CPU(s):     0-3
> [root@pts00433-vm5 cassandra]# cat /etc/redhat-release
> Red Hat Enterprise Linux Server release 7.3 (Maipo)
>            Reporter: Amitkumar Ghatwal
>            Assignee: Michael Shuler
>
> Getting below errors while trying to run the test suite.
> [root@pts00433-vm5 cassandra]# ant test
> Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
> Buildfile: /root/amit/cassandra-wo_capi/cassandra/build.xml
> init:
> maven-ant-tasks-localrepo:
> maven-ant-tasks-download:
> maven-ant-tasks-init:
> maven-declare-dependencies:
> maven-ant-tasks-retrieve-build:
> init-dependencies:
>      [echo] Loading dependency paths from file: 
> /root/amit/cassandra-wo_capi/cassandra/build/build-dependencies.xml
> init-dependencies:
>      [echo] Loading dependency paths from file: 
> /root/amit/cassandra-wo_capi/cassandra/build/build-dependencies-sources.xml
>     [unzip] Expanding: 
> /root/amit/cassandra-wo_capi/cassandra/build/lib/jars/org.jacoco.agent-0.7.5.201505241946.jar
>  into /root/amit/cassandra-wo_capi/cassandra/build/lib/jars
> check-gen-cql3-grammar:
> gen-cql3-grammar:
> generate-cql-html:
> generate-jflex-java:
> build-project:
>      [echo] apache-cassandra: /root/amit/cassandra-wo_capi/cassandra/build.xml
>     [javac] Compiling 308 source files to 
> /root/amit/cassandra-wo_capi/cassandra/build/classes/main
>     [javac] Picked up JAVA_TOOL_OPTIONS: -Dfile.encoding=UTF8
>     [javac] Note: Processing compiler hints annotations
>     [javac] Note: Processing compiler hints annotations
>     [javac] Note: Writing compiler command file at META-INF/hotspot_compiler
>     [javac] Note: Done processing compiler hints annotations
>     [javac] 
> /root/amit/cassandra-wo_capi/cassandra/src/java/org/apache/cassandra/cql3/statements/CreateTableStatement.java:210:
>  error: reference to Schema is ambiguous
>     [javac]             KeyspaceMetadata ksm = 
> Schema.instance.getKeyspaceMetadata(keyspace());
>     [javac]                                    ^
>     [javac]   both class org.apache.cassandra.schema.Schema in 
> org.apache.cassandra.schema and class org.apache.cassandra.config.Schema in 
> org.apache.cassandra.config match
>     [javac] 
> /root/amit/cassandra-wo_capi/cassandra/src/java/org/apache/cassandra/cql3/statements/CreateTableStatement.java:221:
>  error: reference to SchemaConstants is ambiguous
>     [javac]             if (columnFamily().length() > 
> SchemaConstants.NAME_LENGTH)
>     [javac]                                           ^
>     [javac]   both class org.apache.cassandra.schema.SchemaConstants in 
> org.apache.cassandra.schema and class 
> org.apache.cassandra.config.SchemaConstants in org.apache.cassandra.config 
> match
>     [javac] 
> /root/amit/cassandra-wo_capi/cassandra/src/java/org/apache/cassandra/cql3/statements/CreateTableStatement.java:222:
>  error: reference to SchemaConstants is ambiguous
>     [javac]                 throw new 
> InvalidRequestException(String.format("Table names shouldn't be more than %s 
> characters long (got \"%s\")", SchemaConstants.NAME_LENGTH, columnFamily()));
>     [javac]                                                                   
>                                                                     ^
>     [javac]   both class org.apache.cassandra.schema.SchemaConstants in 
> org.apache.cassandra.schema and class 
> org.apache.cassandra.config.SchemaConstants in org.apache.cassandra.config 
> match
>     [javac] 
> /root/amit/cassandra-wo_capi/cassandra/src/java/org/apache/cassandra/db/ColumnFamilyStore.java:1809:
>  error: reference to SchemaConstants is ambiguous
>     [javac]                 if 
> (!SchemaConstants.SYSTEM_KEYSPACE_NAMES.contains(metadata.keyspace) && 
> !SchemaConstants.REPLICATED_SYSTEM_KEYSPACE_NAMES.contains(metadata.keyspace))
>     [javac]                      ^
>     [javac]   both class org.apache.cassandra.schema.SchemaConstants in 
> org.apache.cassandra.schema and class 
> org.apache.cassandra.config.SchemaConstants in org.apache.cassandra.config 
> match
>     [javac] 
> /root/amit/cassandra-wo_capi/cassandra/src/java/org/apache/cassandra/db/ColumnFamilyStore.java:1809:
>  error: reference to SchemaConstants is ambiguous
>     [javac]                 if 
> (!SchemaConstants.SYSTEM_KEYSPACE_NAMES.contains(metadata.keyspace) && 
> !SchemaConstants.REPLICATED_SYSTEM_KEYSPACE_NAMES.contains(metadata.keyspace))
>     [javac]                                                                   
>                          ^
>     [javac]   both class org.apache.cassandra.schema.SchemaConstants in 
> org.apache.cassandra.schema and class 
> org.apache.cassandra.config.SchemaConstants in org.apache.cassandra.config 
> match
>     [javac] 
> /root/amit/cassandra-wo_capi/cassandra/src/java/org/apache/cassandra/db/ColumnFamilyStore.java:2107:
>  error: reference to Schema is ambiguous
>     [javac]         List<Iterable<ColumnFamilyStore>> stores = new 
> ArrayList<Iterable<ColumnFamilyStore>>(Schema.instance.getKeyspaces().size());
>     [javac]                                                                   
>                             ^
>     [javac]   both class org.apache.cassandra.schema.Schema in 
> org.apache.cassandra.schema and class org.apache.cassandra.config.Schema in 
> org.apache.cassandra.config match
>     [javac] 
> /root/amit/cassandra-wo_capi/cassandra/src/java/org/apache/cassandra/db/ColumnFamilyStore.java:2626:
>  error: reference to Schema is ambiguous
>     [javac]         TableMetadata metadata = 
> Schema.instance.getTableMetadata(id);
>     [javac]                                  ^
>     [javac]   both class org.apache.cassandra.schema.Schema in 
> org.apache.cassandra.schema and class org.apache.cassandra.config.Schema in 
> org.apache.cassandra.config match
>     [javac] 
> /root/amit/cassandra-wo_capi/cassandra/src/java/org/apache/cassandra/db/ColumnFamilyStore.java:2652:
>  error: reference to Schema is ambiguous
>     [javac]         TableMetadata table = 
> Schema.instance.getTableMetadata(ksName, cfName);
>     [javac]                               ^
>     [javac]   both class org.apache.cassandra.schema.Schema in 
> org.apache.cassandra.schema and class org.apache.cassandra.config.Schema in 
> org.apache.cassandra.config match
>     [javac] 
> /root/amit/cassandra-wo_capi/cassandra/src/gen-java/org/apache/cassandra/cql3/Cql_Parser.java:3681:
>  error: incompatible types: bad type in conditional expression
>     [javac]                                                                   
>      conditions == null ? Collections.<Pair<ColumnMetadata.Raw, 
> ColumnCondition.Raw>>emptyList() : conditions,
>     [javac]                                                                   
>                                                                               
>                 ^
>     [javac]     
> List<Pair<org.apache.cassandra.schema.ColumnMetadata.Raw,org.apache.cassandra.cql3.ColumnCondition.Raw>>
>  cannot be converted to 
> List<Pair<org.apache.cassandra.schema.ColumnMetadata.Raw,org.apache.cassandra.cql3.conditions.ColumnCondition.Raw>>
>     [javac] 
> /root/amit/cassandra-wo_capi/cassandra/src/gen-java/org/apache/cassandra/cql3/Cql_Parser.java:3905:
>  error: incompatible types: bad type in conditional expression
>     [javac]                                                                  
> conditions == null ? Collections.<Pair<ColumnMetadata.Raw, 
> ColumnCondition.Raw>>emptyList() : conditions,
>     [javac]                                                                   
>                                                                               
>           ^
>     [javac]     
> List<Pair<org.apache.cassandra.schema.ColumnMetadata.Raw,org.apache.cassandra.cql3.ColumnCondition.Raw>>
>  cannot be converted to 
> List<Pair<org.apache.cassandra.schema.ColumnMetadata.Raw,org.apache.cassandra.cql3.conditions.ColumnCondition.Raw>>
>     [javac] Note: Some input files use or override a deprecated API.
>     [javac] Note: Recompile with -Xlint:deprecation for details.
>     [javac] Note: Some input files use unchecked or unsafe operations.
>     [javac] Note: Recompile with -Xlint:unchecked for details.
>     [javac] Note: Some messages have been simplified; recompile with 
> -Xdiags:verbose to get full output
>     [javac] 10 errors
> BUILD FAILED
> /root/amit/cassandra-wo_capi/cassandra/build.xml:722: Compile failed; see the 
> compiler error output for details.
> Total time: 15 seconds



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@cassandra.apache.org
For additional commands, e-mail: commits-h...@cassandra.apache.org

Reply via email to