To Sir Michael:

    Thank you for your guiding, my steps are:
cd /data/workspace/OxyCentos/HadoopCas/cassandra-trunk
   git clone https://github.com/apache/cassandra.git
   cd cassandra-trunk/
 git checkout -b cassandra-3.11.3
   ant artifacts

The steps all build successfully, and the  returnings info from "ant artifacts" 
is:
BUILD SUCCESSFUL
Total time: 5 minutes 58 seconds
[gloCalHelp.com@gloCalHelp1 cassandra-trunk]$ git status
# On branch cassandra-3.11.3
nothing to commit (working directory clean)
[gloCalHelp.com@gloCalHelp1 cassandra-trunk]$ git log -n1
commit 31d5d870f9f5b56391db46ba6cdf9e0882d8a5c0
Merge: 6bcc60a d52c7b8
Author: Benedict Elliott Smith <bened...@apple.com>
Date:   Mon Jul 16 17:46:37 2018 +0100

    Merge branch 'cassandra-3.0' into HEAD

The "ant generate-eclipse-files" 's returnings are:
 [copy] Warning: functions modified in the future.
     [copy] Warning: tokenization modified in the future.

generate-eclipse-files:
    [mkdir] Created dir: 
/data/workspace/OxyCentos/HadoopCas/cassandra-trunk/.settings

BUILD SUCCESSFUL
Total time: 12 seconds

then I follow the page you offer's steps are:
Start Eclipse.
Select File->Import->Existing Projects into Workspace->Select git directory.
Make sure “cassandra-trunk” is recognized and selected as a project 

and then from menu Project-> clean -> build only the selected projects..

but there are still the same only 3 errors left on the 1 line code:

1, The method map(Function<? super Cell,? extends R>) in the type Stream<Cell> 
is not applicable for the arguments (((transform != null) ? transform : (<no 
type> cell) -> "")) AbstractRow.java        
/cassandra-trunk/src/java/org/apache/cassandra/db/rows  line 183        Java 
Problem
2, Type mismatch: cannot convert from Function<Cell,String> to Function<? super 
Cell,? extends R>       AbstractRow.java        
/cassandra-trunk/src/java/org/apache/cassandra/db/rows  line 183        Java 
Problem
3, Type mismatch: cannot convert from String to R       AbstractRow.java        
/cassandra-trunk/src/java/org/apache/cassandra/db/rows  line 183        Java 
Problem

how to solve the cassandra 3.11.3 source's compiling errors exactly?




Thank you!

Sincerely
Nimbuslin(Lin JiaXin)
Mobile: 0086 180 5986 1565
Mail: jiaxin...@live.com


________________________________________
From: Michael Shuler <mshu...@pbandjelly.org> on behalf of Michael Shuler 
<mich...@pbandjelly.org>
Sent: Tuesday, July 16, 2019 2:28 PM
To: dev@cassandra.apache.org
Subject: Re: Isn't there a workable cassandra java source for developing as 
other big data system?

You have a dirty build environment. Your path of "/cassandra-trunk/src"
in the error and the suggestion on slack that you are trying to build
cassandra-3.11.3 shows me you need to start over fresh. Here you go:

build docs:
http://cassandra.apache.org/doc/latest/development/ide.html

build steps pasted in slack:#cassandra:
   cd /tmp/
   git clone https://github.com/apache/cassandra.git
   cd cassandra/
   git checkout cassandra-3.11.3
   ant artifacts

BUILD SUCCESSFUL
Total time: 1 minute 32 seconds

--
Kind regards,
Michael

On 7/16/19 9:01 AM, Benedict Elliott Smith wrote:
> 3.11.3 compiles just fine, I have just corroborated.  Sir Jeff is in
> fact a Cassandra developer, so please feel free to engage with his
> question, which was designed to help diagnose your problem.
>
>
>> On 16 Jul 2019, at 14:54, Nimbus Lin <jiaxin...@live.com> wrote:
>>
>> To Sir Jeff: your method of "ant realclean" doesn't work, but
>> delete the needing library in build/jars/.
>>
>> To other Cassandra's developers: Hi, is there any Cassandra's
>> developers here ?, would you like to tell me which version
>> cassandra's java source is really able to be build and run well?
>> or  how to solve the only  3 compile errors in  AbstractRow.java
>> for version 3.11.3?   If cassandra's source is not really free for
>> developing, then maybe it is better for me to change to other big
>> data system's source  to develop.
>>
>> Isn't there a workable cassandra java source for developing  as
>> other big data system?
>>
>>
>>
>> Thank you!
>>
>> Sincerely Nimbuslin(Lin JiaXin) Mobile: 0086 180 5986 1565 Mail:
>> jiaxin...@live.com
>>
>> ---------------------------------------------------------------------
>>
>>
To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org
>> For additional commands, e-mail: dev-h...@cassandra.apache.org
>>
>
>
> ---------------------------------------------------------------------
>
>
To unsubscribe, e-mail: dev-unsubscr...@cassandra.apache.org
> For additional commands, e-mail: dev-h...@cassandra.apache.org
>


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


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

Reply via email to