You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by Srihari Srinivasan <ss...@thoughtworks.com> on 2013/06/29 23:17:20 UTC
Trying to get started....
Hi Folks,
I am trying to get started with the REST APIs. I've forked the codebase
using my github account and merged my local copy with the upstream
"execwork" branch. I am doing this because the sources for Drillbit and
related classes seem to be in the execwork branch currently. I'll need to
work with them as part of this feature.
Is my approach so far correct? Can I expect mvn install on the
ReferenceInterpreter to work fine after these steps?
Hari
Re: Trying to get started....
Posted by Ted Dunning <te...@gmail.com>.
Actually, IDEA 11 works fine with the Mahout generated sources. I think it
is a question of whether the sources go in the standard places in the
target dir.
On Sun, Jun 30, 2013 at 9:54 AM, Srihari Srinivasan <
ssriniva@thoughtworks.com> wrote:
> I had to include the missed generated-sources directory manually to get it
> to recognize generated sources. It could be an issue with Idea 11. Its
> known to be a bit buggy with mvn project imports.
>
> Hopefully the last question. I am getting a dependency not met message
> within Idea for the mahout-math-0.8-snapshot jar. This is in the log-synth
> module.
>
> -- Hari
>
>
> On Sun, Jun 30, 2013 at 9:22 PM, Timothy Chen <tn...@gmail.com> wrote:
>
> > Alternatively you can try right clicking on the maven tab in Intelllij
> and
> > manually run generate sources on java-exec module.
> >
> > That might make the errors go away, if not then try maven compile.
> >
> > Tim
> >
> >
> > On Sun, Jun 30, 2013 at 8:36 AM, Jacques Nadeau <ja...@apache.org>
> > wrote:
> >
> > > I believe you need to run a full cli compile once before importing,
> > > otherwise intellij doesn't detect all paths correctly.
> > > On Jun 30, 2013 8:34 AM, "Srihari Srinivasan" <
> ssriniva@thoughtworks.com
> > >
> > > wrote:
> > >
> > > > Just one last hitch with my IntelliJ set up. I created a project in
> > Idea
> > > > using the option that reads the mvn model to create the project
> > > structure.
> > > >
> > > > Across the board the IDE complains about not finding the sources for
> > > > "org.apache.drill.exec.proto.**Protos" files. I realize that these
> are
> > > > generated sources which are kept under the target/generated-sources
> dir
> > > of
> > > > the java-exec module. The IDE is not able to find them or link to the
> > jar
> > > > file that perhaps compiles them. The command line build went through
> > > > successfully.
> > > >
> > > > Is anyone using IntelliJ to develop?
> > > >
> > > > -- Hari
> > > >
> > > > On Sun, Jun 30, 2013 at 8:06 PM, Srihari Srinivasan <
> > > > ssriniva@thoughtworks.com> wrote:
> > > >
> > > > > Thanks! That worked.
> > > > >
> > > > >
> > > > > On Sun, Jun 30, 2013 at 6:19 PM, Jacques Nadeau <
> jacques@apache.org
> > > > >wrote:
> > > > >
> > > > >> You actually need 2.5.x, not 2.4.x. The compile errors are due to
> > > that.
> > > > >>
> > > > >> J
> > > > >> On Jun 30, 2013 1:36 AM, "Azuryy Yu" <az...@gmail.com> wrote:
> > > > >>
> > > > >> > and you'd better install protobuf-2.4.x, not 2.5!
> > > > >> >
> > > > >> > --Send from my Sony mobile.
> > > > >> > On Jun 30, 2013 2:49 PM, "Philip Haynes" <
> > > > >> > philip.haynes@virtualnation.com.au>
> > > > >> > wrote:
> > > > >> >
> > > > >> > > Srihari -
> > > > >> > >
> > > > >> > > > java.io.IOException: *Cannot run program "protoc" (in
> > directory
> > > > >> > >
> > > > >> > >
> > > > >> > > Maven is telling you that you need to install protocol buffers
> > > which
> > > > >> you
> > > > >> > > can find here
> > > > >> > > http://code.google.com/p/protobuf/
> > > > >> > >
> > > > >> > > On 30/06/13 4:44 PM, "Srihari Srinivasan" <
> > > > ssriniva@thoughtworks.com>
> > > > >> > > wrote:
> > > > >> > >
> > > > >> > > >When I try to do mvn install on the execwork branch this is
> the
> > > > >> error I
> > > > >> > > >get
> > > > >> > > >-
> > > > >> > > >
> > > > >> > > >[ERROR] Failed to execute goal
> > > > >> > > >org.apache.maven.plugins:maven-antrun-plugin:1.6:run
> > > > >> (generate-sources)
> > > > >> > on
> > > > >> > > >project java-exec: An Ant BuildException has occured: Execute
> > > > failed:
> > > > >> > > >java.io.IOException: *Cannot run program "protoc" (in
> directory
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> >"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
> > > > >> > > >java-exec"):
> > > > >> > > >error=2, No such file or directory -> [Help 1]*
> > > > >> > > >org.apache.maven.lifecycle.LifecycleExecutionException:
> Failed
> > to
> > > > >> > execute
> > > > >> > > >goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run
> > > > >> > > >(generate-sources) on project java-exec: An Ant
> BuildException
> > > has
> > > > >> > > >occured:
> > > > >> > > >Execute failed: java.io.IOException: Cannot run program
> > "protoc"
> > > > (in
> > > > >> > > >directory
> > > > >> > >
> > > > >> >
> > > > >>
> > > >
> > >
> >
> >"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
> > > > >> > > >java-exec"):
> > > > >> > > >error=2, No such file or directory
> > > > >> > > >
> > > > >> > > >Help!
> > > > >> > > >
> > > > >> > > >-- Hari
> > > > >> > > >
> > > > >> > > >On Sun, Jun 30, 2013 at 3:08 AM, Timothy Chen <
> > tnachen@gmail.com
> > > >
> > > > >> > wrote:
> > > > >> > > >
> > > > >> > > >> Hi Srihari,
> > > > >> > > >>
> > > > >> > > >> Yes the execwork branch is the place to start off if you're
> > > > working
> > > > >> > with
> > > > >> > > >> the DrillBits.
> > > > >> > > >>
> > > > >> > > >> Latest master is already merged in that branch so the
> > > > >> > > >>ReferenceInterpreter
> > > > >> > > >> also works too.
> > > > >> > > >>
> > > > >> > > >> Let us know if you encounter any problems.
> > > > >> > > >>
> > > > >> > > >> Tim
> > > > >> > > >>
> > > > >> > > >>
> > > > >> > > >> On Sat, Jun 29, 2013 at 2:17 PM, Srihari Srinivasan <
> > > > >> > > >> ssriniva@thoughtworks.com> wrote:
> > > > >> > > >>
> > > > >> > > >> > Hi Folks,
> > > > >> > > >> >
> > > > >> > > >> > I am trying to get started with the REST APIs. I've
> forked
> > > the
> > > > >> > > >>codebase
> > > > >> > > >> > using my github account and merged my local copy with the
> > > > >> upstream
> > > > >> > > >> > "execwork" branch. I am doing this because the sources
> for
> > > > >> Drillbit
> > > > >> > > >>and
> > > > >> > > >> > related classes seem to be in the execwork branch
> > currently.
> > > > I'll
> > > > >> > > >>need to
> > > > >> > > >> > work with them as part of this feature.
> > > > >> > > >> >
> > > > >> > > >> > Is my approach so far correct? Can I expect mvn install
> on
> > > the
> > > > >> > > >> > ReferenceInterpreter to work fine after these steps?
> > > > >> > > >> >
> > > > >> > > >> > Hari
> > > > >> > > >> >
> > > > >> > > >>
> > > > >> > >
> > > > >> > >
> > > > >> > >
> > > > >> >
> > > > >>
> > > > >
> > > > >
> > > >
> > >
> >
>
Re: Trying to get started....
Posted by Srihari Srinivasan <ss...@thoughtworks.com>.
Thanks both Tim and J! It now compiles from within Intellij as well!
On Sun, Jun 30, 2013 at 10:53 PM, Jacques Nadeau <ja...@apache.org> wrote:
> Just remove the log-synth module from the intellij project. It is in
> the prototype directory structure but isn't a referenced submodule of
> the compile tree.
>
> J
>
> On Sun, Jun 30, 2013 at 10:15 AM, Timothy Chen <tn...@gmail.com> wrote:
> > Hi Srihari,
> >
> > I think you just need to choose sandbox/prototype as root folder to
> import. You won't need log-synth and I think it hasn't been touched for a
> long time.
> >
> > Tim
> >
> > Sent from my iPhone
> >
> > On Jun 30, 2013, at 9:54 AM, Srihari Srinivasan <
> ssriniva@thoughtworks.com> wrote:
> >
> >> I had to include the missed generated-sources directory manually to get
> it
> >> to recognize generated sources. It could be an issue with Idea 11. Its
> >> known to be a bit buggy with mvn project imports.
> >>
> >> Hopefully the last question. I am getting a dependency not met message
> >> within Idea for the mahout-math-0.8-snapshot jar. This is in the
> log-synth
> >> module.
> >>
> >> -- Hari
> >>
> >>
> >> On Sun, Jun 30, 2013 at 9:22 PM, Timothy Chen <tn...@gmail.com>
> wrote:
> >>
> >>> Alternatively you can try right clicking on the maven tab in Intelllij
> and
> >>> manually run generate sources on java-exec module.
> >>>
> >>> That might make the errors go away, if not then try maven compile.
> >>>
> >>> Tim
> >>>
> >>>
> >>> On Sun, Jun 30, 2013 at 8:36 AM, Jacques Nadeau <ja...@apache.org>
> >>> wrote:
> >>>
> >>>> I believe you need to run a full cli compile once before importing,
> >>>> otherwise intellij doesn't detect all paths correctly.
> >>>> On Jun 30, 2013 8:34 AM, "Srihari Srinivasan" <
> ssriniva@thoughtworks.com
> >>>>
> >>>> wrote:
> >>>>
> >>>>> Just one last hitch with my IntelliJ set up. I created a project in
> >>> Idea
> >>>>> using the option that reads the mvn model to create the project
> >>>> structure.
> >>>>>
> >>>>> Across the board the IDE complains about not finding the sources for
> >>>>> "org.apache.drill.exec.proto.**Protos" files. I realize that these
> are
> >>>>> generated sources which are kept under the target/generated-sources
> dir
> >>>> of
> >>>>> the java-exec module. The IDE is not able to find them or link to the
> >>> jar
> >>>>> file that perhaps compiles them. The command line build went through
> >>>>> successfully.
> >>>>>
> >>>>> Is anyone using IntelliJ to develop?
> >>>>>
> >>>>> -- Hari
> >>>>>
> >>>>> On Sun, Jun 30, 2013 at 8:06 PM, Srihari Srinivasan <
> >>>>> ssriniva@thoughtworks.com> wrote:
> >>>>>
> >>>>>> Thanks! That worked.
> >>>>>>
> >>>>>>
> >>>>>> On Sun, Jun 30, 2013 at 6:19 PM, Jacques Nadeau <jacques@apache.org
> >>>>>> wrote:
> >>>>>>
> >>>>>>> You actually need 2.5.x, not 2.4.x. The compile errors are due to
> >>>> that.
> >>>>>>>
> >>>>>>> J
> >>>>>>> On Jun 30, 2013 1:36 AM, "Azuryy Yu" <az...@gmail.com> wrote:
> >>>>>>>
> >>>>>>>> and you'd better install protobuf-2.4.x, not 2.5!
> >>>>>>>>
> >>>>>>>> --Send from my Sony mobile.
> >>>>>>>> On Jun 30, 2013 2:49 PM, "Philip Haynes" <
> >>>>>>>> philip.haynes@virtualnation.com.au>
> >>>>>>>> wrote:
> >>>>>>>>
> >>>>>>>>> Srihari -
> >>>>>>>>>
> >>>>>>>>>> java.io.IOException: *Cannot run program "protoc" (in
> >>> directory
> >>>>>>>>>
> >>>>>>>>>
> >>>>>>>>> Maven is telling you that you need to install protocol buffers
> >>>> which
> >>>>>>> you
> >>>>>>>>> can find here
> >>>>>>>>> http://code.google.com/p/protobuf/
> >>>>>>>>>
> >>>>>>>>> On 30/06/13 4:44 PM, "Srihari Srinivasan" <
> >>>>> ssriniva@thoughtworks.com>
> >>>>>>>>> wrote:
> >>>>>>>>>
> >>>>>>>>>> When I try to do mvn install on the execwork branch this is the
> >>>>>>> error I
> >>>>>>>>>> get
> >>>>>>>>>> -
> >>>>>>>>>>
> >>>>>>>>>> [ERROR] Failed to execute goal
> >>>>>>>>>> org.apache.maven.plugins:maven-antrun-plugin:1.6:run
> >>>>>>> (generate-sources)
> >>>>>>>> on
> >>>>>>>>>> project java-exec: An Ant BuildException has occured: Execute
> >>>>> failed:
> >>>>>>>>>> java.io.IOException: *Cannot run program "protoc" (in directory
> >>>>
> >>>>
> "/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
> >>>>>>>>>> java-exec"):
> >>>>>>>>>> error=2, No such file or directory -> [Help 1]*
> >>>>>>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed
> >>> to
> >>>>>>>> execute
> >>>>>>>>>> goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run
> >>>>>>>>>> (generate-sources) on project java-exec: An Ant BuildException
> >>>> has
> >>>>>>>>>> occured:
> >>>>>>>>>> Execute failed: java.io.IOException: Cannot run program
> >>> "protoc"
> >>>>> (in
> >>>>>>>>>> directory
> >>>>
> >>>>
> "/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
> >>>>>>>>>> java-exec"):
> >>>>>>>>>> error=2, No such file or directory
> >>>>>>>>>>
> >>>>>>>>>> Help!
> >>>>>>>>>>
> >>>>>>>>>> -- Hari
> >>>>>>>>>>
> >>>>>>>>>> On Sun, Jun 30, 2013 at 3:08 AM, Timothy Chen <
> >>> tnachen@gmail.com
> >>>>>
> >>>>>>>> wrote:
> >>>>>>>>>>
> >>>>>>>>>>> Hi Srihari,
> >>>>>>>>>>>
> >>>>>>>>>>> Yes the execwork branch is the place to start off if you're
> >>>>> working
> >>>>>>>> with
> >>>>>>>>>>> the DrillBits.
> >>>>>>>>>>>
> >>>>>>>>>>> Latest master is already merged in that branch so the
> >>>>>>>>>>> ReferenceInterpreter
> >>>>>>>>>>> also works too.
> >>>>>>>>>>>
> >>>>>>>>>>> Let us know if you encounter any problems.
> >>>>>>>>>>>
> >>>>>>>>>>> Tim
> >>>>>>>>>>>
> >>>>>>>>>>>
> >>>>>>>>>>> On Sat, Jun 29, 2013 at 2:17 PM, Srihari Srinivasan <
> >>>>>>>>>>> ssriniva@thoughtworks.com> wrote:
> >>>>>>>>>>>
> >>>>>>>>>>>> Hi Folks,
> >>>>>>>>>>>>
> >>>>>>>>>>>> I am trying to get started with the REST APIs. I've forked
> >>>> the
> >>>>>>>>>>> codebase
> >>>>>>>>>>>> using my github account and merged my local copy with the
> >>>>>>> upstream
> >>>>>>>>>>>> "execwork" branch. I am doing this because the sources for
> >>>>>>> Drillbit
> >>>>>>>>>>> and
> >>>>>>>>>>>> related classes seem to be in the execwork branch
> >>> currently.
> >>>>> I'll
> >>>>>>>>>>> need to
> >>>>>>>>>>>> work with them as part of this feature.
> >>>>>>>>>>>>
> >>>>>>>>>>>> Is my approach so far correct? Can I expect mvn install on
> >>>> the
> >>>>>>>>>>>> ReferenceInterpreter to work fine after these steps?
> >>>>>>>>>>>>
> >>>>>>>>>>>> Hari
> >>>
>
Re: Trying to get started....
Posted by Jacques Nadeau <ja...@apache.org>.
Just remove the log-synth module from the intellij project. It is in
the prototype directory structure but isn't a referenced submodule of
the compile tree.
J
On Sun, Jun 30, 2013 at 10:15 AM, Timothy Chen <tn...@gmail.com> wrote:
> Hi Srihari,
>
> I think you just need to choose sandbox/prototype as root folder to import. You won't need log-synth and I think it hasn't been touched for a long time.
>
> Tim
>
> Sent from my iPhone
>
> On Jun 30, 2013, at 9:54 AM, Srihari Srinivasan <ss...@thoughtworks.com> wrote:
>
>> I had to include the missed generated-sources directory manually to get it
>> to recognize generated sources. It could be an issue with Idea 11. Its
>> known to be a bit buggy with mvn project imports.
>>
>> Hopefully the last question. I am getting a dependency not met message
>> within Idea for the mahout-math-0.8-snapshot jar. This is in the log-synth
>> module.
>>
>> -- Hari
>>
>>
>> On Sun, Jun 30, 2013 at 9:22 PM, Timothy Chen <tn...@gmail.com> wrote:
>>
>>> Alternatively you can try right clicking on the maven tab in Intelllij and
>>> manually run generate sources on java-exec module.
>>>
>>> That might make the errors go away, if not then try maven compile.
>>>
>>> Tim
>>>
>>>
>>> On Sun, Jun 30, 2013 at 8:36 AM, Jacques Nadeau <ja...@apache.org>
>>> wrote:
>>>
>>>> I believe you need to run a full cli compile once before importing,
>>>> otherwise intellij doesn't detect all paths correctly.
>>>> On Jun 30, 2013 8:34 AM, "Srihari Srinivasan" <ssriniva@thoughtworks.com
>>>>
>>>> wrote:
>>>>
>>>>> Just one last hitch with my IntelliJ set up. I created a project in
>>> Idea
>>>>> using the option that reads the mvn model to create the project
>>>> structure.
>>>>>
>>>>> Across the board the IDE complains about not finding the sources for
>>>>> "org.apache.drill.exec.proto.**Protos" files. I realize that these are
>>>>> generated sources which are kept under the target/generated-sources dir
>>>> of
>>>>> the java-exec module. The IDE is not able to find them or link to the
>>> jar
>>>>> file that perhaps compiles them. The command line build went through
>>>>> successfully.
>>>>>
>>>>> Is anyone using IntelliJ to develop?
>>>>>
>>>>> -- Hari
>>>>>
>>>>> On Sun, Jun 30, 2013 at 8:06 PM, Srihari Srinivasan <
>>>>> ssriniva@thoughtworks.com> wrote:
>>>>>
>>>>>> Thanks! That worked.
>>>>>>
>>>>>>
>>>>>> On Sun, Jun 30, 2013 at 6:19 PM, Jacques Nadeau <jacques@apache.org
>>>>>> wrote:
>>>>>>
>>>>>>> You actually need 2.5.x, not 2.4.x. The compile errors are due to
>>>> that.
>>>>>>>
>>>>>>> J
>>>>>>> On Jun 30, 2013 1:36 AM, "Azuryy Yu" <az...@gmail.com> wrote:
>>>>>>>
>>>>>>>> and you'd better install protobuf-2.4.x, not 2.5!
>>>>>>>>
>>>>>>>> --Send from my Sony mobile.
>>>>>>>> On Jun 30, 2013 2:49 PM, "Philip Haynes" <
>>>>>>>> philip.haynes@virtualnation.com.au>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> Srihari -
>>>>>>>>>
>>>>>>>>>> java.io.IOException: *Cannot run program "protoc" (in
>>> directory
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> Maven is telling you that you need to install protocol buffers
>>>> which
>>>>>>> you
>>>>>>>>> can find here
>>>>>>>>> http://code.google.com/p/protobuf/
>>>>>>>>>
>>>>>>>>> On 30/06/13 4:44 PM, "Srihari Srinivasan" <
>>>>> ssriniva@thoughtworks.com>
>>>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> When I try to do mvn install on the execwork branch this is the
>>>>>>> error I
>>>>>>>>>> get
>>>>>>>>>> -
>>>>>>>>>>
>>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>>> org.apache.maven.plugins:maven-antrun-plugin:1.6:run
>>>>>>> (generate-sources)
>>>>>>>> on
>>>>>>>>>> project java-exec: An Ant BuildException has occured: Execute
>>>>> failed:
>>>>>>>>>> java.io.IOException: *Cannot run program "protoc" (in directory
>>>>
>>>> "/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
>>>>>>>>>> java-exec"):
>>>>>>>>>> error=2, No such file or directory -> [Help 1]*
>>>>>>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed
>>> to
>>>>>>>> execute
>>>>>>>>>> goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run
>>>>>>>>>> (generate-sources) on project java-exec: An Ant BuildException
>>>> has
>>>>>>>>>> occured:
>>>>>>>>>> Execute failed: java.io.IOException: Cannot run program
>>> "protoc"
>>>>> (in
>>>>>>>>>> directory
>>>>
>>>> "/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
>>>>>>>>>> java-exec"):
>>>>>>>>>> error=2, No such file or directory
>>>>>>>>>>
>>>>>>>>>> Help!
>>>>>>>>>>
>>>>>>>>>> -- Hari
>>>>>>>>>>
>>>>>>>>>> On Sun, Jun 30, 2013 at 3:08 AM, Timothy Chen <
>>> tnachen@gmail.com
>>>>>
>>>>>>>> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Srihari,
>>>>>>>>>>>
>>>>>>>>>>> Yes the execwork branch is the place to start off if you're
>>>>> working
>>>>>>>> with
>>>>>>>>>>> the DrillBits.
>>>>>>>>>>>
>>>>>>>>>>> Latest master is already merged in that branch so the
>>>>>>>>>>> ReferenceInterpreter
>>>>>>>>>>> also works too.
>>>>>>>>>>>
>>>>>>>>>>> Let us know if you encounter any problems.
>>>>>>>>>>>
>>>>>>>>>>> Tim
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On Sat, Jun 29, 2013 at 2:17 PM, Srihari Srinivasan <
>>>>>>>>>>> ssriniva@thoughtworks.com> wrote:
>>>>>>>>>>>
>>>>>>>>>>>> Hi Folks,
>>>>>>>>>>>>
>>>>>>>>>>>> I am trying to get started with the REST APIs. I've forked
>>>> the
>>>>>>>>>>> codebase
>>>>>>>>>>>> using my github account and merged my local copy with the
>>>>>>> upstream
>>>>>>>>>>>> "execwork" branch. I am doing this because the sources for
>>>>>>> Drillbit
>>>>>>>>>>> and
>>>>>>>>>>>> related classes seem to be in the execwork branch
>>> currently.
>>>>> I'll
>>>>>>>>>>> need to
>>>>>>>>>>>> work with them as part of this feature.
>>>>>>>>>>>>
>>>>>>>>>>>> Is my approach so far correct? Can I expect mvn install on
>>>> the
>>>>>>>>>>>> ReferenceInterpreter to work fine after these steps?
>>>>>>>>>>>>
>>>>>>>>>>>> Hari
>>>
Re: Trying to get started....
Posted by Timothy Chen <tn...@gmail.com>.
Hi Srihari,
I think you just need to choose sandbox/prototype as root folder to import. You won't need log-synth and I think it hasn't been touched for a long time.
Tim
Sent from my iPhone
On Jun 30, 2013, at 9:54 AM, Srihari Srinivasan <ss...@thoughtworks.com> wrote:
> I had to include the missed generated-sources directory manually to get it
> to recognize generated sources. It could be an issue with Idea 11. Its
> known to be a bit buggy with mvn project imports.
>
> Hopefully the last question. I am getting a dependency not met message
> within Idea for the mahout-math-0.8-snapshot jar. This is in the log-synth
> module.
>
> -- Hari
>
>
> On Sun, Jun 30, 2013 at 9:22 PM, Timothy Chen <tn...@gmail.com> wrote:
>
>> Alternatively you can try right clicking on the maven tab in Intelllij and
>> manually run generate sources on java-exec module.
>>
>> That might make the errors go away, if not then try maven compile.
>>
>> Tim
>>
>>
>> On Sun, Jun 30, 2013 at 8:36 AM, Jacques Nadeau <ja...@apache.org>
>> wrote:
>>
>>> I believe you need to run a full cli compile once before importing,
>>> otherwise intellij doesn't detect all paths correctly.
>>> On Jun 30, 2013 8:34 AM, "Srihari Srinivasan" <ssriniva@thoughtworks.com
>>>
>>> wrote:
>>>
>>>> Just one last hitch with my IntelliJ set up. I created a project in
>> Idea
>>>> using the option that reads the mvn model to create the project
>>> structure.
>>>>
>>>> Across the board the IDE complains about not finding the sources for
>>>> "org.apache.drill.exec.proto.**Protos" files. I realize that these are
>>>> generated sources which are kept under the target/generated-sources dir
>>> of
>>>> the java-exec module. The IDE is not able to find them or link to the
>> jar
>>>> file that perhaps compiles them. The command line build went through
>>>> successfully.
>>>>
>>>> Is anyone using IntelliJ to develop?
>>>>
>>>> -- Hari
>>>>
>>>> On Sun, Jun 30, 2013 at 8:06 PM, Srihari Srinivasan <
>>>> ssriniva@thoughtworks.com> wrote:
>>>>
>>>>> Thanks! That worked.
>>>>>
>>>>>
>>>>> On Sun, Jun 30, 2013 at 6:19 PM, Jacques Nadeau <jacques@apache.org
>>>>> wrote:
>>>>>
>>>>>> You actually need 2.5.x, not 2.4.x. The compile errors are due to
>>> that.
>>>>>>
>>>>>> J
>>>>>> On Jun 30, 2013 1:36 AM, "Azuryy Yu" <az...@gmail.com> wrote:
>>>>>>
>>>>>>> and you'd better install protobuf-2.4.x, not 2.5!
>>>>>>>
>>>>>>> --Send from my Sony mobile.
>>>>>>> On Jun 30, 2013 2:49 PM, "Philip Haynes" <
>>>>>>> philip.haynes@virtualnation.com.au>
>>>>>>> wrote:
>>>>>>>
>>>>>>>> Srihari -
>>>>>>>>
>>>>>>>>> java.io.IOException: *Cannot run program "protoc" (in
>> directory
>>>>>>>>
>>>>>>>>
>>>>>>>> Maven is telling you that you need to install protocol buffers
>>> which
>>>>>> you
>>>>>>>> can find here
>>>>>>>> http://code.google.com/p/protobuf/
>>>>>>>>
>>>>>>>> On 30/06/13 4:44 PM, "Srihari Srinivasan" <
>>>> ssriniva@thoughtworks.com>
>>>>>>>> wrote:
>>>>>>>>
>>>>>>>>> When I try to do mvn install on the execwork branch this is the
>>>>>> error I
>>>>>>>>> get
>>>>>>>>> -
>>>>>>>>>
>>>>>>>>> [ERROR] Failed to execute goal
>>>>>>>>> org.apache.maven.plugins:maven-antrun-plugin:1.6:run
>>>>>> (generate-sources)
>>>>>>> on
>>>>>>>>> project java-exec: An Ant BuildException has occured: Execute
>>>> failed:
>>>>>>>>> java.io.IOException: *Cannot run program "protoc" (in directory
>>>
>>> "/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
>>>>>>>>> java-exec"):
>>>>>>>>> error=2, No such file or directory -> [Help 1]*
>>>>>>>>> org.apache.maven.lifecycle.LifecycleExecutionException: Failed
>> to
>>>>>>> execute
>>>>>>>>> goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run
>>>>>>>>> (generate-sources) on project java-exec: An Ant BuildException
>>> has
>>>>>>>>> occured:
>>>>>>>>> Execute failed: java.io.IOException: Cannot run program
>> "protoc"
>>>> (in
>>>>>>>>> directory
>>>
>>> "/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
>>>>>>>>> java-exec"):
>>>>>>>>> error=2, No such file or directory
>>>>>>>>>
>>>>>>>>> Help!
>>>>>>>>>
>>>>>>>>> -- Hari
>>>>>>>>>
>>>>>>>>> On Sun, Jun 30, 2013 at 3:08 AM, Timothy Chen <
>> tnachen@gmail.com
>>>>
>>>>>>> wrote:
>>>>>>>>>
>>>>>>>>>> Hi Srihari,
>>>>>>>>>>
>>>>>>>>>> Yes the execwork branch is the place to start off if you're
>>>> working
>>>>>>> with
>>>>>>>>>> the DrillBits.
>>>>>>>>>>
>>>>>>>>>> Latest master is already merged in that branch so the
>>>>>>>>>> ReferenceInterpreter
>>>>>>>>>> also works too.
>>>>>>>>>>
>>>>>>>>>> Let us know if you encounter any problems.
>>>>>>>>>>
>>>>>>>>>> Tim
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On Sat, Jun 29, 2013 at 2:17 PM, Srihari Srinivasan <
>>>>>>>>>> ssriniva@thoughtworks.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> Hi Folks,
>>>>>>>>>>>
>>>>>>>>>>> I am trying to get started with the REST APIs. I've forked
>>> the
>>>>>>>>>> codebase
>>>>>>>>>>> using my github account and merged my local copy with the
>>>>>> upstream
>>>>>>>>>>> "execwork" branch. I am doing this because the sources for
>>>>>> Drillbit
>>>>>>>>>> and
>>>>>>>>>>> related classes seem to be in the execwork branch
>> currently.
>>>> I'll
>>>>>>>>>> need to
>>>>>>>>>>> work with them as part of this feature.
>>>>>>>>>>>
>>>>>>>>>>> Is my approach so far correct? Can I expect mvn install on
>>> the
>>>>>>>>>>> ReferenceInterpreter to work fine after these steps?
>>>>>>>>>>>
>>>>>>>>>>> Hari
>>
Re: Trying to get started....
Posted by Srihari Srinivasan <ss...@thoughtworks.com>.
I had to include the missed generated-sources directory manually to get it
to recognize generated sources. It could be an issue with Idea 11. Its
known to be a bit buggy with mvn project imports.
Hopefully the last question. I am getting a dependency not met message
within Idea for the mahout-math-0.8-snapshot jar. This is in the log-synth
module.
-- Hari
On Sun, Jun 30, 2013 at 9:22 PM, Timothy Chen <tn...@gmail.com> wrote:
> Alternatively you can try right clicking on the maven tab in Intelllij and
> manually run generate sources on java-exec module.
>
> That might make the errors go away, if not then try maven compile.
>
> Tim
>
>
> On Sun, Jun 30, 2013 at 8:36 AM, Jacques Nadeau <ja...@apache.org>
> wrote:
>
> > I believe you need to run a full cli compile once before importing,
> > otherwise intellij doesn't detect all paths correctly.
> > On Jun 30, 2013 8:34 AM, "Srihari Srinivasan" <ssriniva@thoughtworks.com
> >
> > wrote:
> >
> > > Just one last hitch with my IntelliJ set up. I created a project in
> Idea
> > > using the option that reads the mvn model to create the project
> > structure.
> > >
> > > Across the board the IDE complains about not finding the sources for
> > > "org.apache.drill.exec.proto.**Protos" files. I realize that these are
> > > generated sources which are kept under the target/generated-sources dir
> > of
> > > the java-exec module. The IDE is not able to find them or link to the
> jar
> > > file that perhaps compiles them. The command line build went through
> > > successfully.
> > >
> > > Is anyone using IntelliJ to develop?
> > >
> > > -- Hari
> > >
> > > On Sun, Jun 30, 2013 at 8:06 PM, Srihari Srinivasan <
> > > ssriniva@thoughtworks.com> wrote:
> > >
> > > > Thanks! That worked.
> > > >
> > > >
> > > > On Sun, Jun 30, 2013 at 6:19 PM, Jacques Nadeau <jacques@apache.org
> > > >wrote:
> > > >
> > > >> You actually need 2.5.x, not 2.4.x. The compile errors are due to
> > that.
> > > >>
> > > >> J
> > > >> On Jun 30, 2013 1:36 AM, "Azuryy Yu" <az...@gmail.com> wrote:
> > > >>
> > > >> > and you'd better install protobuf-2.4.x, not 2.5!
> > > >> >
> > > >> > --Send from my Sony mobile.
> > > >> > On Jun 30, 2013 2:49 PM, "Philip Haynes" <
> > > >> > philip.haynes@virtualnation.com.au>
> > > >> > wrote:
> > > >> >
> > > >> > > Srihari -
> > > >> > >
> > > >> > > > java.io.IOException: *Cannot run program "protoc" (in
> directory
> > > >> > >
> > > >> > >
> > > >> > > Maven is telling you that you need to install protocol buffers
> > which
> > > >> you
> > > >> > > can find here
> > > >> > > http://code.google.com/p/protobuf/
> > > >> > >
> > > >> > > On 30/06/13 4:44 PM, "Srihari Srinivasan" <
> > > ssriniva@thoughtworks.com>
> > > >> > > wrote:
> > > >> > >
> > > >> > > >When I try to do mvn install on the execwork branch this is the
> > > >> error I
> > > >> > > >get
> > > >> > > >-
> > > >> > > >
> > > >> > > >[ERROR] Failed to execute goal
> > > >> > > >org.apache.maven.plugins:maven-antrun-plugin:1.6:run
> > > >> (generate-sources)
> > > >> > on
> > > >> > > >project java-exec: An Ant BuildException has occured: Execute
> > > failed:
> > > >> > > >java.io.IOException: *Cannot run program "protoc" (in directory
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> >"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
> > > >> > > >java-exec"):
> > > >> > > >error=2, No such file or directory -> [Help 1]*
> > > >> > > >org.apache.maven.lifecycle.LifecycleExecutionException: Failed
> to
> > > >> > execute
> > > >> > > >goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run
> > > >> > > >(generate-sources) on project java-exec: An Ant BuildException
> > has
> > > >> > > >occured:
> > > >> > > >Execute failed: java.io.IOException: Cannot run program
> "protoc"
> > > (in
> > > >> > > >directory
> > > >> > >
> > > >> >
> > > >>
> > >
> >
> >"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
> > > >> > > >java-exec"):
> > > >> > > >error=2, No such file or directory
> > > >> > > >
> > > >> > > >Help!
> > > >> > > >
> > > >> > > >-- Hari
> > > >> > > >
> > > >> > > >On Sun, Jun 30, 2013 at 3:08 AM, Timothy Chen <
> tnachen@gmail.com
> > >
> > > >> > wrote:
> > > >> > > >
> > > >> > > >> Hi Srihari,
> > > >> > > >>
> > > >> > > >> Yes the execwork branch is the place to start off if you're
> > > working
> > > >> > with
> > > >> > > >> the DrillBits.
> > > >> > > >>
> > > >> > > >> Latest master is already merged in that branch so the
> > > >> > > >>ReferenceInterpreter
> > > >> > > >> also works too.
> > > >> > > >>
> > > >> > > >> Let us know if you encounter any problems.
> > > >> > > >>
> > > >> > > >> Tim
> > > >> > > >>
> > > >> > > >>
> > > >> > > >> On Sat, Jun 29, 2013 at 2:17 PM, Srihari Srinivasan <
> > > >> > > >> ssriniva@thoughtworks.com> wrote:
> > > >> > > >>
> > > >> > > >> > Hi Folks,
> > > >> > > >> >
> > > >> > > >> > I am trying to get started with the REST APIs. I've forked
> > the
> > > >> > > >>codebase
> > > >> > > >> > using my github account and merged my local copy with the
> > > >> upstream
> > > >> > > >> > "execwork" branch. I am doing this because the sources for
> > > >> Drillbit
> > > >> > > >>and
> > > >> > > >> > related classes seem to be in the execwork branch
> currently.
> > > I'll
> > > >> > > >>need to
> > > >> > > >> > work with them as part of this feature.
> > > >> > > >> >
> > > >> > > >> > Is my approach so far correct? Can I expect mvn install on
> > the
> > > >> > > >> > ReferenceInterpreter to work fine after these steps?
> > > >> > > >> >
> > > >> > > >> > Hari
> > > >> > > >> >
> > > >> > > >>
> > > >> > >
> > > >> > >
> > > >> > >
> > > >> >
> > > >>
> > > >
> > > >
> > >
> >
>
Re: Trying to get started....
Posted by Timothy Chen <tn...@gmail.com>.
Alternatively you can try right clicking on the maven tab in Intelllij and
manually run generate sources on java-exec module.
That might make the errors go away, if not then try maven compile.
Tim
On Sun, Jun 30, 2013 at 8:36 AM, Jacques Nadeau <ja...@apache.org> wrote:
> I believe you need to run a full cli compile once before importing,
> otherwise intellij doesn't detect all paths correctly.
> On Jun 30, 2013 8:34 AM, "Srihari Srinivasan" <ss...@thoughtworks.com>
> wrote:
>
> > Just one last hitch with my IntelliJ set up. I created a project in Idea
> > using the option that reads the mvn model to create the project
> structure.
> >
> > Across the board the IDE complains about not finding the sources for
> > "org.apache.drill.exec.proto.**Protos" files. I realize that these are
> > generated sources which are kept under the target/generated-sources dir
> of
> > the java-exec module. The IDE is not able to find them or link to the jar
> > file that perhaps compiles them. The command line build went through
> > successfully.
> >
> > Is anyone using IntelliJ to develop?
> >
> > -- Hari
> >
> > On Sun, Jun 30, 2013 at 8:06 PM, Srihari Srinivasan <
> > ssriniva@thoughtworks.com> wrote:
> >
> > > Thanks! That worked.
> > >
> > >
> > > On Sun, Jun 30, 2013 at 6:19 PM, Jacques Nadeau <jacques@apache.org
> > >wrote:
> > >
> > >> You actually need 2.5.x, not 2.4.x. The compile errors are due to
> that.
> > >>
> > >> J
> > >> On Jun 30, 2013 1:36 AM, "Azuryy Yu" <az...@gmail.com> wrote:
> > >>
> > >> > and you'd better install protobuf-2.4.x, not 2.5!
> > >> >
> > >> > --Send from my Sony mobile.
> > >> > On Jun 30, 2013 2:49 PM, "Philip Haynes" <
> > >> > philip.haynes@virtualnation.com.au>
> > >> > wrote:
> > >> >
> > >> > > Srihari -
> > >> > >
> > >> > > > java.io.IOException: *Cannot run program "protoc" (in directory
> > >> > >
> > >> > >
> > >> > > Maven is telling you that you need to install protocol buffers
> which
> > >> you
> > >> > > can find here
> > >> > > http://code.google.com/p/protobuf/
> > >> > >
> > >> > > On 30/06/13 4:44 PM, "Srihari Srinivasan" <
> > ssriniva@thoughtworks.com>
> > >> > > wrote:
> > >> > >
> > >> > > >When I try to do mvn install on the execwork branch this is the
> > >> error I
> > >> > > >get
> > >> > > >-
> > >> > > >
> > >> > > >[ERROR] Failed to execute goal
> > >> > > >org.apache.maven.plugins:maven-antrun-plugin:1.6:run
> > >> (generate-sources)
> > >> > on
> > >> > > >project java-exec: An Ant BuildException has occured: Execute
> > failed:
> > >> > > >java.io.IOException: *Cannot run program "protoc" (in directory
> > >> > >
> > >> >
> > >>
> >
> >"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
> > >> > > >java-exec"):
> > >> > > >error=2, No such file or directory -> [Help 1]*
> > >> > > >org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > >> > execute
> > >> > > >goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run
> > >> > > >(generate-sources) on project java-exec: An Ant BuildException
> has
> > >> > > >occured:
> > >> > > >Execute failed: java.io.IOException: Cannot run program "protoc"
> > (in
> > >> > > >directory
> > >> > >
> > >> >
> > >>
> >
> >"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
> > >> > > >java-exec"):
> > >> > > >error=2, No such file or directory
> > >> > > >
> > >> > > >Help!
> > >> > > >
> > >> > > >-- Hari
> > >> > > >
> > >> > > >On Sun, Jun 30, 2013 at 3:08 AM, Timothy Chen <tnachen@gmail.com
> >
> > >> > wrote:
> > >> > > >
> > >> > > >> Hi Srihari,
> > >> > > >>
> > >> > > >> Yes the execwork branch is the place to start off if you're
> > working
> > >> > with
> > >> > > >> the DrillBits.
> > >> > > >>
> > >> > > >> Latest master is already merged in that branch so the
> > >> > > >>ReferenceInterpreter
> > >> > > >> also works too.
> > >> > > >>
> > >> > > >> Let us know if you encounter any problems.
> > >> > > >>
> > >> > > >> Tim
> > >> > > >>
> > >> > > >>
> > >> > > >> On Sat, Jun 29, 2013 at 2:17 PM, Srihari Srinivasan <
> > >> > > >> ssriniva@thoughtworks.com> wrote:
> > >> > > >>
> > >> > > >> > Hi Folks,
> > >> > > >> >
> > >> > > >> > I am trying to get started with the REST APIs. I've forked
> the
> > >> > > >>codebase
> > >> > > >> > using my github account and merged my local copy with the
> > >> upstream
> > >> > > >> > "execwork" branch. I am doing this because the sources for
> > >> Drillbit
> > >> > > >>and
> > >> > > >> > related classes seem to be in the execwork branch currently.
> > I'll
> > >> > > >>need to
> > >> > > >> > work with them as part of this feature.
> > >> > > >> >
> > >> > > >> > Is my approach so far correct? Can I expect mvn install on
> the
> > >> > > >> > ReferenceInterpreter to work fine after these steps?
> > >> > > >> >
> > >> > > >> > Hari
> > >> > > >> >
> > >> > > >>
> > >> > >
> > >> > >
> > >> > >
> > >> >
> > >>
> > >
> > >
> >
>
Re: Trying to get started....
Posted by Jacques Nadeau <ja...@apache.org>.
I believe you need to run a full cli compile once before importing,
otherwise intellij doesn't detect all paths correctly.
On Jun 30, 2013 8:34 AM, "Srihari Srinivasan" <ss...@thoughtworks.com>
wrote:
> Just one last hitch with my IntelliJ set up. I created a project in Idea
> using the option that reads the mvn model to create the project structure.
>
> Across the board the IDE complains about not finding the sources for
> "org.apache.drill.exec.proto.**Protos" files. I realize that these are
> generated sources which are kept under the target/generated-sources dir of
> the java-exec module. The IDE is not able to find them or link to the jar
> file that perhaps compiles them. The command line build went through
> successfully.
>
> Is anyone using IntelliJ to develop?
>
> -- Hari
>
> On Sun, Jun 30, 2013 at 8:06 PM, Srihari Srinivasan <
> ssriniva@thoughtworks.com> wrote:
>
> > Thanks! That worked.
> >
> >
> > On Sun, Jun 30, 2013 at 6:19 PM, Jacques Nadeau <jacques@apache.org
> >wrote:
> >
> >> You actually need 2.5.x, not 2.4.x. The compile errors are due to that.
> >>
> >> J
> >> On Jun 30, 2013 1:36 AM, "Azuryy Yu" <az...@gmail.com> wrote:
> >>
> >> > and you'd better install protobuf-2.4.x, not 2.5!
> >> >
> >> > --Send from my Sony mobile.
> >> > On Jun 30, 2013 2:49 PM, "Philip Haynes" <
> >> > philip.haynes@virtualnation.com.au>
> >> > wrote:
> >> >
> >> > > Srihari -
> >> > >
> >> > > > java.io.IOException: *Cannot run program "protoc" (in directory
> >> > >
> >> > >
> >> > > Maven is telling you that you need to install protocol buffers which
> >> you
> >> > > can find here
> >> > > http://code.google.com/p/protobuf/
> >> > >
> >> > > On 30/06/13 4:44 PM, "Srihari Srinivasan" <
> ssriniva@thoughtworks.com>
> >> > > wrote:
> >> > >
> >> > > >When I try to do mvn install on the execwork branch this is the
> >> error I
> >> > > >get
> >> > > >-
> >> > > >
> >> > > >[ERROR] Failed to execute goal
> >> > > >org.apache.maven.plugins:maven-antrun-plugin:1.6:run
> >> (generate-sources)
> >> > on
> >> > > >project java-exec: An Ant BuildException has occured: Execute
> failed:
> >> > > >java.io.IOException: *Cannot run program "protoc" (in directory
> >> > >
> >> >
> >>
> >"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
> >> > > >java-exec"):
> >> > > >error=2, No such file or directory -> [Help 1]*
> >> > > >org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> >> > execute
> >> > > >goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run
> >> > > >(generate-sources) on project java-exec: An Ant BuildException has
> >> > > >occured:
> >> > > >Execute failed: java.io.IOException: Cannot run program "protoc"
> (in
> >> > > >directory
> >> > >
> >> >
> >>
> >"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
> >> > > >java-exec"):
> >> > > >error=2, No such file or directory
> >> > > >
> >> > > >Help!
> >> > > >
> >> > > >-- Hari
> >> > > >
> >> > > >On Sun, Jun 30, 2013 at 3:08 AM, Timothy Chen <tn...@gmail.com>
> >> > wrote:
> >> > > >
> >> > > >> Hi Srihari,
> >> > > >>
> >> > > >> Yes the execwork branch is the place to start off if you're
> working
> >> > with
> >> > > >> the DrillBits.
> >> > > >>
> >> > > >> Latest master is already merged in that branch so the
> >> > > >>ReferenceInterpreter
> >> > > >> also works too.
> >> > > >>
> >> > > >> Let us know if you encounter any problems.
> >> > > >>
> >> > > >> Tim
> >> > > >>
> >> > > >>
> >> > > >> On Sat, Jun 29, 2013 at 2:17 PM, Srihari Srinivasan <
> >> > > >> ssriniva@thoughtworks.com> wrote:
> >> > > >>
> >> > > >> > Hi Folks,
> >> > > >> >
> >> > > >> > I am trying to get started with the REST APIs. I've forked the
> >> > > >>codebase
> >> > > >> > using my github account and merged my local copy with the
> >> upstream
> >> > > >> > "execwork" branch. I am doing this because the sources for
> >> Drillbit
> >> > > >>and
> >> > > >> > related classes seem to be in the execwork branch currently.
> I'll
> >> > > >>need to
> >> > > >> > work with them as part of this feature.
> >> > > >> >
> >> > > >> > Is my approach so far correct? Can I expect mvn install on the
> >> > > >> > ReferenceInterpreter to work fine after these steps?
> >> > > >> >
> >> > > >> > Hari
> >> > > >> >
> >> > > >>
> >> > >
> >> > >
> >> > >
> >> >
> >>
> >
> >
>
Re: Trying to get started....
Posted by Srihari Srinivasan <ss...@thoughtworks.com>.
Just one last hitch with my IntelliJ set up. I created a project in Idea
using the option that reads the mvn model to create the project structure.
Across the board the IDE complains about not finding the sources for
"org.apache.drill.exec.proto.**Protos" files. I realize that these are
generated sources which are kept under the target/generated-sources dir of
the java-exec module. The IDE is not able to find them or link to the jar
file that perhaps compiles them. The command line build went through
successfully.
Is anyone using IntelliJ to develop?
-- Hari
On Sun, Jun 30, 2013 at 8:06 PM, Srihari Srinivasan <
ssriniva@thoughtworks.com> wrote:
> Thanks! That worked.
>
>
> On Sun, Jun 30, 2013 at 6:19 PM, Jacques Nadeau <ja...@apache.org>wrote:
>
>> You actually need 2.5.x, not 2.4.x. The compile errors are due to that.
>>
>> J
>> On Jun 30, 2013 1:36 AM, "Azuryy Yu" <az...@gmail.com> wrote:
>>
>> > and you'd better install protobuf-2.4.x, not 2.5!
>> >
>> > --Send from my Sony mobile.
>> > On Jun 30, 2013 2:49 PM, "Philip Haynes" <
>> > philip.haynes@virtualnation.com.au>
>> > wrote:
>> >
>> > > Srihari -
>> > >
>> > > > java.io.IOException: *Cannot run program "protoc" (in directory
>> > >
>> > >
>> > > Maven is telling you that you need to install protocol buffers which
>> you
>> > > can find here
>> > > http://code.google.com/p/protobuf/
>> > >
>> > > On 30/06/13 4:44 PM, "Srihari Srinivasan" <ss...@thoughtworks.com>
>> > > wrote:
>> > >
>> > > >When I try to do mvn install on the execwork branch this is the
>> error I
>> > > >get
>> > > >-
>> > > >
>> > > >[ERROR] Failed to execute goal
>> > > >org.apache.maven.plugins:maven-antrun-plugin:1.6:run
>> (generate-sources)
>> > on
>> > > >project java-exec: An Ant BuildException has occured: Execute failed:
>> > > >java.io.IOException: *Cannot run program "protoc" (in directory
>> > >
>> >
>> >"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
>> > > >java-exec"):
>> > > >error=2, No such file or directory -> [Help 1]*
>> > > >org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
>> > execute
>> > > >goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run
>> > > >(generate-sources) on project java-exec: An Ant BuildException has
>> > > >occured:
>> > > >Execute failed: java.io.IOException: Cannot run program "protoc" (in
>> > > >directory
>> > >
>> >
>> >"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
>> > > >java-exec"):
>> > > >error=2, No such file or directory
>> > > >
>> > > >Help!
>> > > >
>> > > >-- Hari
>> > > >
>> > > >On Sun, Jun 30, 2013 at 3:08 AM, Timothy Chen <tn...@gmail.com>
>> > wrote:
>> > > >
>> > > >> Hi Srihari,
>> > > >>
>> > > >> Yes the execwork branch is the place to start off if you're working
>> > with
>> > > >> the DrillBits.
>> > > >>
>> > > >> Latest master is already merged in that branch so the
>> > > >>ReferenceInterpreter
>> > > >> also works too.
>> > > >>
>> > > >> Let us know if you encounter any problems.
>> > > >>
>> > > >> Tim
>> > > >>
>> > > >>
>> > > >> On Sat, Jun 29, 2013 at 2:17 PM, Srihari Srinivasan <
>> > > >> ssriniva@thoughtworks.com> wrote:
>> > > >>
>> > > >> > Hi Folks,
>> > > >> >
>> > > >> > I am trying to get started with the REST APIs. I've forked the
>> > > >>codebase
>> > > >> > using my github account and merged my local copy with the
>> upstream
>> > > >> > "execwork" branch. I am doing this because the sources for
>> Drillbit
>> > > >>and
>> > > >> > related classes seem to be in the execwork branch currently. I'll
>> > > >>need to
>> > > >> > work with them as part of this feature.
>> > > >> >
>> > > >> > Is my approach so far correct? Can I expect mvn install on the
>> > > >> > ReferenceInterpreter to work fine after these steps?
>> > > >> >
>> > > >> > Hari
>> > > >> >
>> > > >>
>> > >
>> > >
>> > >
>> >
>>
>
>
Re: Trying to get started....
Posted by Srihari Srinivasan <ss...@thoughtworks.com>.
Thanks! That worked.
On Sun, Jun 30, 2013 at 6:19 PM, Jacques Nadeau <ja...@apache.org> wrote:
> You actually need 2.5.x, not 2.4.x. The compile errors are due to that.
>
> J
> On Jun 30, 2013 1:36 AM, "Azuryy Yu" <az...@gmail.com> wrote:
>
> > and you'd better install protobuf-2.4.x, not 2.5!
> >
> > --Send from my Sony mobile.
> > On Jun 30, 2013 2:49 PM, "Philip Haynes" <
> > philip.haynes@virtualnation.com.au>
> > wrote:
> >
> > > Srihari -
> > >
> > > > java.io.IOException: *Cannot run program "protoc" (in directory
> > >
> > >
> > > Maven is telling you that you need to install protocol buffers which
> you
> > > can find here
> > > http://code.google.com/p/protobuf/
> > >
> > > On 30/06/13 4:44 PM, "Srihari Srinivasan" <ss...@thoughtworks.com>
> > > wrote:
> > >
> > > >When I try to do mvn install on the execwork branch this is the error
> I
> > > >get
> > > >-
> > > >
> > > >[ERROR] Failed to execute goal
> > > >org.apache.maven.plugins:maven-antrun-plugin:1.6:run
> (generate-sources)
> > on
> > > >project java-exec: An Ant BuildException has occured: Execute failed:
> > > >java.io.IOException: *Cannot run program "protoc" (in directory
> > >
> >
> >"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
> > > >java-exec"):
> > > >error=2, No such file or directory -> [Help 1]*
> > > >org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> > execute
> > > >goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run
> > > >(generate-sources) on project java-exec: An Ant BuildException has
> > > >occured:
> > > >Execute failed: java.io.IOException: Cannot run program "protoc" (in
> > > >directory
> > >
> >
> >"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
> > > >java-exec"):
> > > >error=2, No such file or directory
> > > >
> > > >Help!
> > > >
> > > >-- Hari
> > > >
> > > >On Sun, Jun 30, 2013 at 3:08 AM, Timothy Chen <tn...@gmail.com>
> > wrote:
> > > >
> > > >> Hi Srihari,
> > > >>
> > > >> Yes the execwork branch is the place to start off if you're working
> > with
> > > >> the DrillBits.
> > > >>
> > > >> Latest master is already merged in that branch so the
> > > >>ReferenceInterpreter
> > > >> also works too.
> > > >>
> > > >> Let us know if you encounter any problems.
> > > >>
> > > >> Tim
> > > >>
> > > >>
> > > >> On Sat, Jun 29, 2013 at 2:17 PM, Srihari Srinivasan <
> > > >> ssriniva@thoughtworks.com> wrote:
> > > >>
> > > >> > Hi Folks,
> > > >> >
> > > >> > I am trying to get started with the REST APIs. I've forked the
> > > >>codebase
> > > >> > using my github account and merged my local copy with the upstream
> > > >> > "execwork" branch. I am doing this because the sources for
> Drillbit
> > > >>and
> > > >> > related classes seem to be in the execwork branch currently. I'll
> > > >>need to
> > > >> > work with them as part of this feature.
> > > >> >
> > > >> > Is my approach so far correct? Can I expect mvn install on the
> > > >> > ReferenceInterpreter to work fine after these steps?
> > > >> >
> > > >> > Hari
> > > >> >
> > > >>
> > >
> > >
> > >
> >
>
Re: Trying to get started....
Posted by Jacques Nadeau <ja...@apache.org>.
You actually need 2.5.x, not 2.4.x. The compile errors are due to that.
J
On Jun 30, 2013 1:36 AM, "Azuryy Yu" <az...@gmail.com> wrote:
> and you'd better install protobuf-2.4.x, not 2.5!
>
> --Send from my Sony mobile.
> On Jun 30, 2013 2:49 PM, "Philip Haynes" <
> philip.haynes@virtualnation.com.au>
> wrote:
>
> > Srihari -
> >
> > > java.io.IOException: *Cannot run program "protoc" (in directory
> >
> >
> > Maven is telling you that you need to install protocol buffers which you
> > can find here
> > http://code.google.com/p/protobuf/
> >
> > On 30/06/13 4:44 PM, "Srihari Srinivasan" <ss...@thoughtworks.com>
> > wrote:
> >
> > >When I try to do mvn install on the execwork branch this is the error I
> > >get
> > >-
> > >
> > >[ERROR] Failed to execute goal
> > >org.apache.maven.plugins:maven-antrun-plugin:1.6:run (generate-sources)
> on
> > >project java-exec: An Ant BuildException has occured: Execute failed:
> > >java.io.IOException: *Cannot run program "protoc" (in directory
> >
> >"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
> > >java-exec"):
> > >error=2, No such file or directory -> [Help 1]*
> > >org.apache.maven.lifecycle.LifecycleExecutionException: Failed to
> execute
> > >goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run
> > >(generate-sources) on project java-exec: An Ant BuildException has
> > >occured:
> > >Execute failed: java.io.IOException: Cannot run program "protoc" (in
> > >directory
> >
> >"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
> > >java-exec"):
> > >error=2, No such file or directory
> > >
> > >Help!
> > >
> > >-- Hari
> > >
> > >On Sun, Jun 30, 2013 at 3:08 AM, Timothy Chen <tn...@gmail.com>
> wrote:
> > >
> > >> Hi Srihari,
> > >>
> > >> Yes the execwork branch is the place to start off if you're working
> with
> > >> the DrillBits.
> > >>
> > >> Latest master is already merged in that branch so the
> > >>ReferenceInterpreter
> > >> also works too.
> > >>
> > >> Let us know if you encounter any problems.
> > >>
> > >> Tim
> > >>
> > >>
> > >> On Sat, Jun 29, 2013 at 2:17 PM, Srihari Srinivasan <
> > >> ssriniva@thoughtworks.com> wrote:
> > >>
> > >> > Hi Folks,
> > >> >
> > >> > I am trying to get started with the REST APIs. I've forked the
> > >>codebase
> > >> > using my github account and merged my local copy with the upstream
> > >> > "execwork" branch. I am doing this because the sources for Drillbit
> > >>and
> > >> > related classes seem to be in the execwork branch currently. I'll
> > >>need to
> > >> > work with them as part of this feature.
> > >> >
> > >> > Is my approach so far correct? Can I expect mvn install on the
> > >> > ReferenceInterpreter to work fine after these steps?
> > >> >
> > >> > Hari
> > >> >
> > >>
> >
> >
> >
>
Re: Trying to get started....
Posted by Srihari Srinivasan <ss...@thoughtworks.com>.
Thanks for that one! I have 2.4x installed and was able to get past the
previous failure. Running into another issue now -
[ERROR]
/Users/ssriniva/projects/personal/mydrill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserServer.java:[76,34]
cannot find symbol
symbol: variable PARSER
location: class org.apache.drill.exec.proto.UserProtos.RunQuery
[ERROR]
/Users/ssriniva/projects/personal/mydrill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserServer.java:[85,44]
cannot find symbol
symbol: variable PARSER
location: class org.apache.drill.exec.proto.UserProtos.RequestResults
[ERROR]
/Users/ssriniva/projects/personal/mydrill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserServer.java:[116,96]
cannot find symbol
symbol: variable PARSER
location: class org.apache.drill.exec.proto.UserProtos.UserToBitHandshake
[ERROR]
/Users/ssriniva/projects/personal/mydrill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/bit/BitServer.java:[76,84]
cannot find symbol
symbol: variable PARSER
location: class org.apache.drill.exec.proto.ExecProtos.BitHandshake
[ERROR]
/Users/ssriniva/projects/personal/mydrill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/UserClient.java:[45,120]
cannot find symbol
symbol: variable PARSER
location: class org.apache.drill.exec.proto.UserProtos.BitToUserHandshake
[ERROR]
/Users/ssriniva/projects/personal/mydrill/incubator-drill/sandbox/prototype/exec/java-exec/src/main/java/org/apache/drill/exec/rpc/user/QueryResultHandler.java:[54,61]
cannot find symbol
symbol: variable PARSER
location: class org.apache.drill.exec.proto.UserProtos.QueryResult
...and more lines like this...
My guess is PARSER is part of a generated source file which is not getting
generated and consequently the code at the higher level cribs.
-- Hari
Re: Trying to get started....
Posted by Azuryy Yu <az...@gmail.com>.
and you'd better install protobuf-2.4.x, not 2.5!
--Send from my Sony mobile.
On Jun 30, 2013 2:49 PM, "Philip Haynes" <ph...@virtualnation.com.au>
wrote:
> Srihari -
>
> > java.io.IOException: *Cannot run program "protoc" (in directory
>
>
> Maven is telling you that you need to install protocol buffers which you
> can find here
> http://code.google.com/p/protobuf/
>
> On 30/06/13 4:44 PM, "Srihari Srinivasan" <ss...@thoughtworks.com>
> wrote:
>
> >When I try to do mvn install on the execwork branch this is the error I
> >get
> >-
> >
> >[ERROR] Failed to execute goal
> >org.apache.maven.plugins:maven-antrun-plugin:1.6:run (generate-sources) on
> >project java-exec: An Ant BuildException has occured: Execute failed:
> >java.io.IOException: *Cannot run program "protoc" (in directory
> >"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
> >java-exec"):
> >error=2, No such file or directory -> [Help 1]*
> >org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
> >goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run
> >(generate-sources) on project java-exec: An Ant BuildException has
> >occured:
> >Execute failed: java.io.IOException: Cannot run program "protoc" (in
> >directory
> >"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
> >java-exec"):
> >error=2, No such file or directory
> >
> >Help!
> >
> >-- Hari
> >
> >On Sun, Jun 30, 2013 at 3:08 AM, Timothy Chen <tn...@gmail.com> wrote:
> >
> >> Hi Srihari,
> >>
> >> Yes the execwork branch is the place to start off if you're working with
> >> the DrillBits.
> >>
> >> Latest master is already merged in that branch so the
> >>ReferenceInterpreter
> >> also works too.
> >>
> >> Let us know if you encounter any problems.
> >>
> >> Tim
> >>
> >>
> >> On Sat, Jun 29, 2013 at 2:17 PM, Srihari Srinivasan <
> >> ssriniva@thoughtworks.com> wrote:
> >>
> >> > Hi Folks,
> >> >
> >> > I am trying to get started with the REST APIs. I've forked the
> >>codebase
> >> > using my github account and merged my local copy with the upstream
> >> > "execwork" branch. I am doing this because the sources for Drillbit
> >>and
> >> > related classes seem to be in the execwork branch currently. I'll
> >>need to
> >> > work with them as part of this feature.
> >> >
> >> > Is my approach so far correct? Can I expect mvn install on the
> >> > ReferenceInterpreter to work fine after these steps?
> >> >
> >> > Hari
> >> >
> >>
>
>
>
Re: Trying to get started....
Posted by Philip Haynes <ph...@virtualnation.com.au>.
Srihari -
> java.io.IOException: *Cannot run program "protoc" (in directory
Maven is telling you that you need to install protocol buffers which you
can find here
http://code.google.com/p/protobuf/
On 30/06/13 4:44 PM, "Srihari Srinivasan" <ss...@thoughtworks.com>
wrote:
>When I try to do mvn install on the execwork branch this is the error I
>get
>-
>
>[ERROR] Failed to execute goal
>org.apache.maven.plugins:maven-antrun-plugin:1.6:run (generate-sources) on
>project java-exec: An Ant BuildException has occured: Execute failed:
>java.io.IOException: *Cannot run program "protoc" (in directory
>"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
>java-exec"):
>error=2, No such file or directory -> [Help 1]*
>org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
>goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run
>(generate-sources) on project java-exec: An Ant BuildException has
>occured:
>Execute failed: java.io.IOException: Cannot run program "protoc" (in
>directory
>"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/
>java-exec"):
>error=2, No such file or directory
>
>Help!
>
>-- Hari
>
>On Sun, Jun 30, 2013 at 3:08 AM, Timothy Chen <tn...@gmail.com> wrote:
>
>> Hi Srihari,
>>
>> Yes the execwork branch is the place to start off if you're working with
>> the DrillBits.
>>
>> Latest master is already merged in that branch so the
>>ReferenceInterpreter
>> also works too.
>>
>> Let us know if you encounter any problems.
>>
>> Tim
>>
>>
>> On Sat, Jun 29, 2013 at 2:17 PM, Srihari Srinivasan <
>> ssriniva@thoughtworks.com> wrote:
>>
>> > Hi Folks,
>> >
>> > I am trying to get started with the REST APIs. I've forked the
>>codebase
>> > using my github account and merged my local copy with the upstream
>> > "execwork" branch. I am doing this because the sources for Drillbit
>>and
>> > related classes seem to be in the execwork branch currently. I'll
>>need to
>> > work with them as part of this feature.
>> >
>> > Is my approach so far correct? Can I expect mvn install on the
>> > ReferenceInterpreter to work fine after these steps?
>> >
>> > Hari
>> >
>>
Re: Trying to get started....
Posted by Srihari Srinivasan <ss...@thoughtworks.com>.
When I try to do mvn install on the execwork branch this is the error I get
-
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-antrun-plugin:1.6:run (generate-sources) on
project java-exec: An Ant BuildException has occured: Execute failed:
java.io.IOException: *Cannot run program "protoc" (in directory
"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/java-exec"):
error=2, No such file or directory -> [Help 1]*
org.apache.maven.lifecycle.LifecycleExecutionException: Failed to execute
goal org.apache.maven.plugins:maven-antrun-plugin:1.6:run
(generate-sources) on project java-exec: An Ant BuildException has occured:
Execute failed: java.io.IOException: Cannot run program "protoc" (in
directory
"/Users/ssriniva/projects/personal/incubator-drill/sandbox/prototype/exec/java-exec"):
error=2, No such file or directory
Help!
-- Hari
On Sun, Jun 30, 2013 at 3:08 AM, Timothy Chen <tn...@gmail.com> wrote:
> Hi Srihari,
>
> Yes the execwork branch is the place to start off if you're working with
> the DrillBits.
>
> Latest master is already merged in that branch so the ReferenceInterpreter
> also works too.
>
> Let us know if you encounter any problems.
>
> Tim
>
>
> On Sat, Jun 29, 2013 at 2:17 PM, Srihari Srinivasan <
> ssriniva@thoughtworks.com> wrote:
>
> > Hi Folks,
> >
> > I am trying to get started with the REST APIs. I've forked the codebase
> > using my github account and merged my local copy with the upstream
> > "execwork" branch. I am doing this because the sources for Drillbit and
> > related classes seem to be in the execwork branch currently. I'll need to
> > work with them as part of this feature.
> >
> > Is my approach so far correct? Can I expect mvn install on the
> > ReferenceInterpreter to work fine after these steps?
> >
> > Hari
> >
>
Re: Trying to get started....
Posted by Timothy Chen <tn...@gmail.com>.
Hi Srihari,
Yes the execwork branch is the place to start off if you're working with
the DrillBits.
Latest master is already merged in that branch so the ReferenceInterpreter
also works too.
Let us know if you encounter any problems.
Tim
On Sat, Jun 29, 2013 at 2:17 PM, Srihari Srinivasan <
ssriniva@thoughtworks.com> wrote:
> Hi Folks,
>
> I am trying to get started with the REST APIs. I've forked the codebase
> using my github account and merged my local copy with the upstream
> "execwork" branch. I am doing this because the sources for Drillbit and
> related classes seem to be in the execwork branch currently. I'll need to
> work with them as part of this feature.
>
> Is my approach so far correct? Can I expect mvn install on the
> ReferenceInterpreter to work fine after these steps?
>
> Hari
>