You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cassandra.apache.org by Nimbus Lin <ji...@live.com> on 2019/07/14 14:51:53 UTC

how to solve the 3 compile errors in AbstractRow.java?

TO: Genius Cassandra's developers, 

   how to solve the 3 compile errors in  AbstractRow.java?

The 3 errors are all because the only 1 line code:

"         sb.append(StreamSupport.stream(complexData.spliterator(), false)
                                          .map(transform != null ? transform : cell -> "")
                                          .collect(Collectors.joining(", ", "{", "}")));"

the 1st compile error is
"
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
"
The other 2 compile errors are:
Type mismatch: cannot convert from Function<Cell,String> to Function<? super Cell,? extends R>	AbstractRow.java

Type mismatch: cannot convert from String to R	AbstractRow.java


The fastest tempory solving method is commenting out the line, but what are the bad effects ?

I would very appreciate your help!

Thank you!

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

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


Re: Isn't there a workable cassandra java source for developing as other big data system?

Posted by Nimbus Lin <ji...@live.com>.
To Sir Benedict  :

    Since  you have compiled corrobartedly, would you like to tell me your comiling steps?
I compile as cassandra's official website, which is "ant generaate-eclipse-files" first with cassaandra 3.11.3, but failed with the only 3 errors on a single line in AbstractRow.java.  


Thank you!

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


________________________________________
From: Benedict Elliott Smith <be...@apache.org>
Sent: Tuesday, July 16, 2019 2:01 PM
To: dev@cassandra.apache.org
Subject: Re: Isn't there a workable cassandra java source for developing  as other big data system?

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 <ji...@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: jiaxinlin@live.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: dev-help@cassandra.apache.org
>


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


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


Re: but there are still the same only 3 compile errors left on the 1 line code in abstractRow.java

Posted by Nimbus Lin <ji...@live.com>.
Jasonstack:

      Thank you very much for your teaching, now I have solved the compiling errors and only a step is left for confirming 
whether the free source is real workable or not, is the step to replace the jars in build/dist/?

      The solving method is just to define as below:

 //to simplify the below error line,define the variables
                    Function< Cell, String> VariableWantedmapper;
                    Function<Cell, String> VariableOriginal =(transform != null ? transform : cell -> "");

       So I have to say many thanks to you, Cassandra's pioneer engineers and Java's compiler's makers.
Is a secret of Java compiler that " a too deep grammar-decode-compiling  " will generate some compiling errors? 

>>>Intellij should work just fine ..
     I found Intellij's menu organizing seems weaker than Eclipse, so I have been using Eclipse for over 15 years.
Thanks for your teaching.

Thank you!

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


________________________________________
From: Jasonstack Zhao Yang <zh...@gmail.com>
Sent: Wednesday, July 17, 2019 6:28 PM
To: dev@cassandra.apache.org
Subject: Re: but there are still the same only 3 compile errors left on the 1 line code in abstractRow.java

Hi,

It's probably just an Eclipse issue that doesn't properly handle lambda.

Intellij should work just fine or you can add a type cast "(Function<Cell,
String>)" for Eclipse...



On Wed, 17 Jul 2019 at 16:32, Nimbus Lin <ji...@live.com> wrote:

> 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 <be...@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: jiaxinlin@live.com
>
>
> ________________________________________
> From: Michael Shuler <ms...@pbandjelly.org> on behalf of Michael Shuler
> <mi...@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 <ji...@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:
> >> jiaxinlin@live.com
> >>
> >> ---------------------------------------------------------------------
> >>
> >>
> To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> >> For additional commands, e-mail: dev-help@cassandra.apache.org
> >>
> >
> >
> > ---------------------------------------------------------------------
> >
> >
> To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> > For additional commands, e-mail: dev-help@cassandra.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: dev-help@cassandra.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: dev-help@cassandra.apache.org
>
>

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


Re: but there are still the same only 3 compile errors left on the 1 line code in abstractRow.java

Posted by Jasonstack Zhao Yang <zh...@gmail.com>.
Hi,

It's probably just an Eclipse issue that doesn't properly handle lambda.

Intellij should work just fine or you can add a type cast "(Function<Cell,
String>)" for Eclipse...



On Wed, 17 Jul 2019 at 16:32, Nimbus Lin <ji...@live.com> wrote:

> 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 <be...@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: jiaxinlin@live.com
>
>
> ________________________________________
> From: Michael Shuler <ms...@pbandjelly.org> on behalf of Michael Shuler
> <mi...@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 <ji...@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:
> >> jiaxinlin@live.com
> >>
> >> ---------------------------------------------------------------------
> >>
> >>
> To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> >> For additional commands, e-mail: dev-help@cassandra.apache.org
> >>
> >
> >
> > ---------------------------------------------------------------------
> >
> >
> To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> > For additional commands, e-mail: dev-help@cassandra.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: dev-help@cassandra.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: dev-help@cassandra.apache.org
>
>

but there are still the same only 3 compile errors left on the 1 line code in abstractRow.java

Posted by Nimbus Lin <ji...@live.com>.
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 <be...@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: jiaxinlin@live.com


________________________________________
From: Michael Shuler <ms...@pbandjelly.org> on behalf of Michael Shuler <mi...@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 <ji...@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:
>> jiaxinlin@live.com
>>
>> ---------------------------------------------------------------------
>>
>>
To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
>> For additional commands, e-mail: dev-help@cassandra.apache.org
>>
>
>
> ---------------------------------------------------------------------
>
>
To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: dev-help@cassandra.apache.org
>


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


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


Re: Isn't there a workable cassandra java source for developing as other big data system?

Posted by Michael Shuler <mi...@pbandjelly.org>.
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 <ji...@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:
>> jiaxinlin@live.com
>> 
>> ---------------------------------------------------------------------
>>
>> 
To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
>> For additional commands, e-mail: dev-help@cassandra.apache.org
>> 
> 
> 
> ---------------------------------------------------------------------
>
> 
To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: dev-help@cassandra.apache.org
> 


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


Re: Isn't there a workable cassandra java source for developing as other big data system?

Posted by Benedict Elliott Smith <be...@apache.org>.
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 <ji...@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: jiaxinlin@live.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: dev-help@cassandra.apache.org
> 


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


Isn't there a workable cassandra java source for developing as other big data system?

Posted by Nimbus Lin <ji...@live.com>.
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: jiaxinlin@live.com

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


Re: how to solve the 3 compile errors in AbstractRow.java?

Posted by Jeff Jirsa <jj...@gmail.com>.
Don’t delete that line.

Which version of Java are you using to compile 

> On Jul 14, 2019, at 7:51 AM, Nimbus Lin <ji...@live.com> wrote:
> 
> TO: Genius Cassandra's developers, 
> 
>   how to solve the 3 compile errors in  AbstractRow.java?
> 
> The 3 errors are all because the only 1 line code:
> 
> "         sb.append(StreamSupport.stream(complexData.spliterator(), false)
>                                          .map(transform != null ? transform : cell -> "")
>                                          .collect(Collectors.joining(", ", "{", "}")));"
> 
> the 1st compile error is
> "
> 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
> "
> The other 2 compile errors are:
> Type mismatch: cannot convert from Function<Cell,String> to Function<? super Cell,? extends R>    AbstractRow.java
> 
> Type mismatch: cannot convert from String to R    AbstractRow.java
> 
> 
> The fastest tempory solving method is commenting out the line, but what are the bad effects ?
> 
> I would very appreciate your help!
> 
> Thank you!
> 
> Sincerely
> Nimbuslin(Lin JiaXin)
> Mobile: 0086 180 5986 1565
> Mail: jiaxinlin@live.com
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@cassandra.apache.org
> For additional commands, e-mail: dev-help@cassandra.apache.org
> 

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