but there are still the same only 3 compile errors left on the 1 line code in abstractRow.java
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 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) in the type Stream is not applicable for the arguments (((transform != null) ? transform : ( cell) -> "")) AbstractRow.java /cassandra-trunk/src/java/org/apache/cassandra/db/rows line 183Java Problem 2, Type mismatch: cannot convert from Function to Function AbstractRow.java /cassandra-trunk/src/java/org/apache/cassandra/db/rows line 183Java Problem 3, Type mismatch: cannot convert from String to R AbstractRow.java /cassandra-trunk/src/java/org/apache/cassandra/db/rows line 183Java 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 on behalf of Michael Shuler 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 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
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)" for Eclipse... On Wed, 17 Jul 2019 at 16:32, Nimbus Lin 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 > 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) in the type > Stream is not applicable for the arguments (((transform != null) ? > transform : ( cell) -> "")) AbstractRow.java > /cassandra-trunk/src/java/org/apache/cassandra/db/rows line 183 > Java Problem > 2, Type mismatch: cannot convert from Function 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 on behalf of Michael Shuler > > 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 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 > > > > > --
Re: but there are still the same only 3 compile errors left on the 1 line code in abstractRow.java
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 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: jiaxin...@live.com From: Jasonstack Zhao Yang 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)" for Eclipse... On Wed, 17 Jul 2019 at 16:32, Nimbus Lin 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 > 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) in the type > Stream is not applicable for the arguments (((transform != null) ? > transform : ( cell) -> "")) AbstractRow.java > /cassandra-trunk/src/java/org/apache/cassandra/db/rows line 183 > Java Problem > 2, Type mismatch: cannot convert from Function 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 on behalf of Michael Shuler > > 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 wrote: > >> > >> To Sir Jeff: your method of "ant realclean" doesn't work, but > >> d