[jira] [Commented] (IMPALA-8229) Resolve CMake errors when open Impala project by CLion on Mac

2020-10-15 Thread yiming.xu (Jira)


[ 
https://issues.apache.org/jira/browse/IMPALA-8229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=17215158#comment-17215158
 ] 

yiming.xu commented on IMPALA-8229:
---

Impala unsupport mac os make me choose clickhouse to my OLAP engine, so bad!

> Resolve CMake errors when open Impala project by CLion on Mac
> -
>
> Key: IMPALA-8229
> URL: https://issues.apache.org/jira/browse/IMPALA-8229
> Project: IMPALA
>  Issue Type: Improvement
>Reporter: Quanlong Huang
>Priority: Major
>
> I'm happy to develop Impala in CLion on Mac. It might encourage more people 
> to join the community since it can significantly lower the threshold for 
> Impala development.
> My normal workflow is
> * Understand relative codes in CLion and make changes.
> * Generate patches, then debug on my remote Ubuntu machine.
> To make CLion works, I comment out some requirements (e.g. llvm) in 
> CMakeLists.txt, modify impala-config.sh (e.g. for JNI, versions for Darwin), 
> then copy the generated sources of thrift and some header files of 
> native-toolchain from my Ubuntu machine. However, it's not an elegant 
> solution. We need more efforts for this.
> Creating the ticket first to see if anyone needs this too.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

-
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org



[jira] [Commented] (IMPALA-8229) Resolve CMake errors when open Impala project by CLion on Mac

2019-02-20 Thread Quanlong Huang (JIRA)


[ 
https://issues.apache.org/jira/browse/IMPALA-8229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16773580#comment-16773580
 ] 

Quanlong Huang commented on IMPALA-8229:


[~stakiar], I'd like to share my steps. When I say "work" I just mean CLion is 
able to provide navigation in codes, e.g. jump to definitions, show call 
hierarchy, jump to the implementation of interfaces, etc. CLion on Mac is 
unable to build or debug Impala. There're still some red lines (errors) in it 
but don't affect the reading.

My change is big and tedious: just keep resolving CMake errors until CLion is 
able to update symbols and build the index. It just needs to be done once and 
then you can check out to your branch. Next time when you open CLion it will 
reuse the symbols unless you reload the CMake project.

I need some time to do this again since I have reverted the dirty changes I 
made... Will share a workable branch for CLion later.

> Resolve CMake errors when open Impala project by CLion on Mac
> -
>
> Key: IMPALA-8229
> URL: https://issues.apache.org/jira/browse/IMPALA-8229
> Project: IMPALA
>  Issue Type: Improvement
>Reporter: Quanlong Huang
>Priority: Major
>
> I'm happy to develop Impala in CLion on Mac. It might encourage more people 
> to join the community since it can significantly lower the threshold for 
> Impala development.
> My normal workflow is
> * Understand relative codes in CLion and make changes.
> * Generate patches, then debug on my remote Ubuntu machine.
> To make CLion works, I comment out some requirements (e.g. llvm) in 
> CMakeLists.txt, modify impala-config.sh (e.g. for JNI, versions for Darwin), 
> then copy the generated sources of thrift and some header files of 
> native-toolchain from my Ubuntu machine. However, it's not an elegant 
> solution. We need more efforts for this.
> Creating the ticket first to see if anyone needs this too.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org



[jira] [Commented] (IMPALA-8229) Resolve CMake errors when open Impala project by CLion in Mac

2019-02-20 Thread Sahil Takiar (JIRA)


[ 
https://issues.apache.org/jira/browse/IMPALA-8229?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=16773024#comment-16773024
 ] 

Sahil Takiar commented on IMPALA-8229:
--

I use CLion as well, but I run it on an Ubuntu machine. Getting it to work on a 
Mac would be nice, but I've tried several times and I could never get it 
working. Could you paste what changes to Impala you make to get CLion to work 
on Mac?

> Resolve CMake errors when open Impala project by CLion in Mac
> -
>
> Key: IMPALA-8229
> URL: https://issues.apache.org/jira/browse/IMPALA-8229
> Project: IMPALA
>  Issue Type: Improvement
>Reporter: Quanlong Huang
>Priority: Major
>
> I'm happy to develop Impala in CLion in Mac. It might encourage more people 
> to join the community since it can significantly lower the threshold for 
> Impala development.
> My normal workflow is
> * Understand relative codes in CLion and make changes.
> * Generate patches, then debug on my remote Ubuntu machine.
> To make CLion works, I comment out some requirements (e.g. llvm) in 
> CMakeLists.txt, modify impala-config.sh (e.g. for JNI, versions for Darwin), 
> then copy the generated sources of thrift and some header files of 
> native-toolchain from my Ubuntu machine. However, it's not an elegant 
> solution. We need more efforts for this.
> Creating the ticket first to see if anyone needs this too.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

-
To unsubscribe, e-mail: issues-all-unsubscr...@impala.apache.org
For additional commands, e-mail: issues-all-h...@impala.apache.org