You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@carbondata.apache.org by Qingqing Zhou <zh...@gmail.com> on 2016/09/27 23:03:39 UTC

intellij compiling issue

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
<de...@carbondata.incubator.apache.org>

Re: intellij compiling issue

Posted by Ravindra Pesala <ra...@gmail.com>.
Yes Jacky, We can start review and merge.

On 28 September 2016 at 17:01, Jacky Li <ja...@qq.com> 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 <ra...@gmail.com> 写道:
> >
> > 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 <zh...@gmail.com>
> > 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
> >> <de...@carbondata.incubator.apache.org>
> >>
> >
> >
> > --
> > Thanks & Regards,
> > Ravi
>
>
>
>


-- 
Thanks & Regards,
Ravi

Re: intellij compiling issue

Posted by Jacky Li <ja...@qq.com>.
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 <ra...@gmail.com> 写道:
> 
> 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 <zh...@gmail.com>
> 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
>> <de...@carbondata.incubator.apache.org>
>> 
> 
> 
> -- 
> Thanks & Regards,
> Ravi




Re: intellij compiling issue

Posted by Ravindra Pesala <ra...@gmail.com>.
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 <zh...@gmail.com>
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
> <de...@carbondata.incubator.apache.org>
>



-- 
Thanks & Regards,
Ravi

Re: intellij compiling issue

Posted by Qingqing Zhou <zh...@gmail.com>.
On Thu, Sep 29, 2016 at 3:38 PM, Aniket Adnaik <an...@gmail.com> 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

Re: intellij compiling issue

Posted by Aniket Adnaik <an...@gmail.com>.
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" <zh...@gmail.com> 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
> <de...@carbondata.incubator.apache.org>
>