intellij compiling issue

classic Classic list List threaded Threaded
6 messages Options
Reply | Threaded
Open this post in threaded view
|

intellij compiling issue

Qingqing Zhou
Hi,

I follow the build instruction and get the lastest carbon built
successfully:

[INFO] Reactor Summary:
[INFO]
[INFO] Apache CarbonData :: Parent ........................ SUCCESS [
0.846 s]
[INFO] Apache CarbonData :: Common ........................ SUCCESS [
1.539 s]
[INFO] Apache CarbonData :: Format ........................ SUCCESS [
1.305 s]
[INFO] Apache CarbonData :: Core .......................... SUCCESS [
3.547 s]
[INFO] Apache CarbonData :: Processing .................... SUCCESS [
1.557 s]
[INFO] Apache CarbonData :: Hadoop ........................ SUCCESS [
0.785 s]
[INFO] Apache CarbonData :: Spark ......................... SUCCESS [
34.531 s]
[INFO] Apache CarbonData :: Assembly ...................... SUCCESS [
3.412 s]
[INFO] Apache CarbonData :: Examples ...................... SUCCESS [
6.425 s]
[INFO]
------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 54.116 s


Then I reopen the project with intellij, I still get the compiling error:

/home/qingqing/apache-carbondata/core/src/main/java/org/apache/carbondata/core/util/CarbonUtil.java
Error:(1238, 45) java: package org.apache.carbondata.format does not exist
Error:(1273, 35) java: package org.apache.carbondata.format does not exist

Do I miss something?

Thanks,
Qingqing
<[hidden email]>
Reply | Threaded
Open this post in threaded view
|

Re: intellij compiling issue

ravipesala
Hi ,

Please have a look into following jira issue to solve this problem.
https://issues.apache.org/jira/browse/CARBONDATA-42

Regards,
Ravindra.

On 28 September 2016 at 04:33, Qingqing Zhou <[hidden email]>
wrote:

> Hi,
>
> I follow the build instruction and get the lastest carbon built
> successfully:
>
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache CarbonData :: Parent ........................ SUCCESS [
> 0.846 s]
> [INFO] Apache CarbonData :: Common ........................ SUCCESS [
> 1.539 s]
> [INFO] Apache CarbonData :: Format ........................ SUCCESS [
> 1.305 s]
> [INFO] Apache CarbonData :: Core .......................... SUCCESS [
> 3.547 s]
> [INFO] Apache CarbonData :: Processing .................... SUCCESS [
> 1.557 s]
> [INFO] Apache CarbonData :: Hadoop ........................ SUCCESS [
> 0.785 s]
> [INFO] Apache CarbonData :: Spark ......................... SUCCESS [
> 34.531 s]
> [INFO] Apache CarbonData :: Assembly ...................... SUCCESS [
> 3.412 s]
> [INFO] Apache CarbonData :: Examples ...................... SUCCESS [
> 6.425 s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 54.116 s
>
>
> Then I reopen the project with intellij, I still get the compiling error:
>
> /home/qingqing/apache-carbondata/core/src/main/java/
> org/apache/carbondata/core/util/CarbonUtil.java
> Error:(1238, 45) java: package org.apache.carbondata.format does not exist
> Error:(1273, 35) java: package org.apache.carbondata.format does not exist
>
> Do I miss something?
>
> Thanks,
> Qingqing
> <[hidden email]>
>



--
Thanks & Regards,
Ravi
Reply | Threaded
Open this post in threaded view
|

Re: intellij compiling issue

Jacky Li
Hi Ravindra,

Since release 0.1.1 tag is made, can we start reviewing and merging PR127 and PR132 now?
I think it will solve Qingqing’s problem.

Regards,
Jacky

> 在 2016年9月28日,下午5:15,Ravindra Pesala <[hidden email]> 写道:
>
> Hi ,
>
> Please have a look into following jira issue to solve this problem.
> https://issues.apache.org/jira/browse/CARBONDATA-42
>
> Regards,
> Ravindra.
>
> On 28 September 2016 at 04:33, Qingqing Zhou <[hidden email]>
> wrote:
>
>> Hi,
>>
>> I follow the build instruction and get the lastest carbon built
>> successfully:
>>
>> [INFO] Reactor Summary:
>> [INFO]
>> [INFO] Apache CarbonData :: Parent ........................ SUCCESS [
>> 0.846 s]
>> [INFO] Apache CarbonData :: Common ........................ SUCCESS [
>> 1.539 s]
>> [INFO] Apache CarbonData :: Format ........................ SUCCESS [
>> 1.305 s]
>> [INFO] Apache CarbonData :: Core .......................... SUCCESS [
>> 3.547 s]
>> [INFO] Apache CarbonData :: Processing .................... SUCCESS [
>> 1.557 s]
>> [INFO] Apache CarbonData :: Hadoop ........................ SUCCESS [
>> 0.785 s]
>> [INFO] Apache CarbonData :: Spark ......................... SUCCESS [
>> 34.531 s]
>> [INFO] Apache CarbonData :: Assembly ...................... SUCCESS [
>> 3.412 s]
>> [INFO] Apache CarbonData :: Examples ...................... SUCCESS [
>> 6.425 s]
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] BUILD SUCCESS
>> [INFO]
>> ------------------------------------------------------------------------
>> [INFO] Total time: 54.116 s
>>
>>
>> Then I reopen the project with intellij, I still get the compiling error:
>>
>> /home/qingqing/apache-carbondata/core/src/main/java/
>> org/apache/carbondata/core/util/CarbonUtil.java
>> Error:(1238, 45) java: package org.apache.carbondata.format does not exist
>> Error:(1273, 35) java: package org.apache.carbondata.format does not exist
>>
>> Do I miss something?
>>
>> Thanks,
>> Qingqing
>> <[hidden email]>
>>
>
>
> --
> Thanks & Regards,
> Ravi



Reply | Threaded
Open this post in threaded view
|

Re: intellij compiling issue

ravipesala
Yes Jacky, We can start review and merge.

On 28 September 2016 at 17:01, Jacky Li <[hidden email]> wrote:

> Hi Ravindra,
>
> Since release 0.1.1 tag is made, can we start reviewing and merging PR127
> and PR132 now?
> I think it will solve Qingqing’s problem.
>
> Regards,
> Jacky
>
> > 在 2016年9月28日,下午5:15,Ravindra Pesala <[hidden email]> 写道:
> >
> > Hi ,
> >
> > Please have a look into following jira issue to solve this problem.
> > https://issues.apache.org/jira/browse/CARBONDATA-42
> >
> > Regards,
> > Ravindra.
> >
> > On 28 September 2016 at 04:33, Qingqing Zhou <[hidden email]>
> > wrote:
> >
> >> Hi,
> >>
> >> I follow the build instruction and get the lastest carbon built
> >> successfully:
> >>
> >> [INFO] Reactor Summary:
> >> [INFO]
> >> [INFO] Apache CarbonData :: Parent ........................ SUCCESS [
> >> 0.846 s]
> >> [INFO] Apache CarbonData :: Common ........................ SUCCESS [
> >> 1.539 s]
> >> [INFO] Apache CarbonData :: Format ........................ SUCCESS [
> >> 1.305 s]
> >> [INFO] Apache CarbonData :: Core .......................... SUCCESS [
> >> 3.547 s]
> >> [INFO] Apache CarbonData :: Processing .................... SUCCESS [
> >> 1.557 s]
> >> [INFO] Apache CarbonData :: Hadoop ........................ SUCCESS [
> >> 0.785 s]
> >> [INFO] Apache CarbonData :: Spark ......................... SUCCESS [
> >> 34.531 s]
> >> [INFO] Apache CarbonData :: Assembly ...................... SUCCESS [
> >> 3.412 s]
> >> [INFO] Apache CarbonData :: Examples ...................... SUCCESS [
> >> 6.425 s]
> >> [INFO]
> >> ------------------------------------------------------------
> ------------
> >> [INFO] BUILD SUCCESS
> >> [INFO]
> >> ------------------------------------------------------------
> ------------
> >> [INFO] Total time: 54.116 s
> >>
> >>
> >> Then I reopen the project with intellij, I still get the compiling
> error:
> >>
> >> /home/qingqing/apache-carbondata/core/src/main/java/
> >> org/apache/carbondata/core/util/CarbonUtil.java
> >> Error:(1238, 45) java: package org.apache.carbondata.format does not
> exist
> >> Error:(1273, 35) java: package org.apache.carbondata.format does not
> exist
> >>
> >> Do I miss something?
> >>
> >> Thanks,
> >> Qingqing
> >> <[hidden email]>
> >>
> >
> >
> > --
> > Thanks & Regards,
> > Ravi
>
>
>
>


--
Thanks & Regards,
Ravi
Reply | Threaded
Open this post in threaded view
|

Re: intellij compiling issue

Aniket Adnaik
In reply to this post by Qingqing Zhou
Following is a workaround for compilation error in Intellij:

1. After  cloning the project usin git, perform a local build in "format"
directory on command line outside of intellij
  $> cd incubator-carbondata/format
  $> mvn -DskipTests clean package

2. After you import project as maven project in intellij
   Go to "Build" tab and Click "*Make Project*" .
   *Please note:* Do NOT use "Rebuild Project" , it will do a clean build,
and it will remove previously compiled "format" artifacts causing build to
fail with  error "package org....carbondata.format does not exist."

Hope it helps.

Best Regards,
Aniket




On 27 Sep 2016 4:34 p.m., "Qingqing Zhou" <[hidden email]> wrote:

> Hi,
>
> I follow the build instruction and get the lastest carbon built
> successfully:
>
> [INFO] Reactor Summary:
> [INFO]
> [INFO] Apache CarbonData :: Parent ........................ SUCCESS [
> 0.846 s]
> [INFO] Apache CarbonData :: Common ........................ SUCCESS [
> 1.539 s]
> [INFO] Apache CarbonData :: Format ........................ SUCCESS [
> 1.305 s]
> [INFO] Apache CarbonData :: Core .......................... SUCCESS [
> 3.547 s]
> [INFO] Apache CarbonData :: Processing .................... SUCCESS [
> 1.557 s]
> [INFO] Apache CarbonData :: Hadoop ........................ SUCCESS [
> 0.785 s]
> [INFO] Apache CarbonData :: Spark ......................... SUCCESS [
> 34.531 s]
> [INFO] Apache CarbonData :: Assembly ...................... SUCCESS [
> 3.412 s]
> [INFO] Apache CarbonData :: Examples ...................... SUCCESS [
> 6.425 s]
> [INFO]
> ------------------------------------------------------------------------
> [INFO] BUILD SUCCESS
> [INFO]
> ------------------------------------------------------------------------
> [INFO] Total time: 54.116 s
>
>
> Then I reopen the project with intellij, I still get the compiling error:
>
> /home/qingqing/apache-carbondata/core/src/main/java/org/
> apache/carbondata/core/util/CarbonUtil.java
> Error:(1238, 45) java: package org.apache.carbondata.format does not exist
> Error:(1273, 35) java: package org.apache.carbondata.format does not exist
>
> Do I miss something?
>
> Thanks,
> Qingqing
> <[hidden email]>
>
Reply | Threaded
Open this post in threaded view
|

Re: intellij compiling issue

Qingqing Zhou
On Thu, Sep 29, 2016 at 3:38 PM, Aniket Adnaik <[hidden email]> wrote:
>
>
> 2. After you import project as maven project in intellij
>    Go to "Build" tab and Click "*Make Project*" .
>    *Please note:* Do NOT use "Rebuild Project" , it will do a clean build,

Perfect, this works for me!

Thanks,
Qingqing