Amendment:

Should generate
gora-tutorial/src/main/java/org/apache/gora/tutorial/log/generated/Pageview.java

Regards,
Alfonso Nishikawa

2016-12-09 11:51 GMT+01:00 Alfonso Nishikawa <alfonso.nishik...@gmail.com>:

> Hi, Aruna.
>
> Syntax:
>
> $ ./gora goracompiler <input file/folder> <output folder>
>
> Does this generates the entity classes into the folder
> gora-tutorial/src/main/java/? (executed in the root directory of the
> project):
>
> $ bin/gora goracompiler gora-tutorial/src/main/avro/pageview.json
> gora-tutorial/src/main/java/
>
> I'm not at home at this moment, so I can't check it.
>
> Regards,
>
> Alfonso Nishikawa
>
> 2016-12-09 4:32 GMT+01:00 Aruna Karunarathna <sujithu...@gmail.com>:
>
>> Hi Alfonso,
>>
>> Thanks for the reply, I tried that also, but didn't gave me any output.
>> Is there any debug option for gora command to analyze more?
>> I'm running in ubuntu 14.04 in JDK 1.8.0_101.
>>
>> *./gora* command output the following.
>>
>> aruna@aruna-laptop:~/projects/gora/bin$ ./gora
>> Usage: run COMMAND [COMMAND options]
>> where COMMAND is one of:
>>   goracompiler               Run Compiler
>>   specificcompiler           Run Avro Specific Compiler
>>   dynamocompiler             Run Gora DynamoDB Compiler
>>   goracirackspace            Run the GoraCI Rackspace orchestration setup
>>   goracichef                 Run the GoraCI Chef software provisioning
>> setup
>>   logmanager                 Run the tutorial log manager
>>   distributedlogmanager      Run the tutorial distributed log manager
>>   loganalytics               Run the tutorial log analytics
>>   loganalyticsspark          Run the tutorial log analytics spark
>>   junit                  Run the given JUnit test
>>   version                  Print Gora version to terminal
>>  or
>>  MODULE CLASSNAME   run the class named CLASSNAME in module MODULE
>>
>>
>> The instruction to run the command is somewhat misleading also, Do I need
>> to use the command as, *./gora run COMMAND* ?
>>
>> *./gora run goracompiler*   output the following,
>>
>> Error: Could not find or load main class goracompiler
>>
>> Regards,
>> Aruna
>>
>> On Fri, Dec 9, 2016 at 3:42 AM, Alfonso Nishikawa <
>> alfonso.nishik...@gmail.com> wrote:
>>
>>> Hi, Aruna.
>>>
>>> Have you tried to run it as "./gora goracompiler"?
>>>
>>> Regards,
>>>
>>> Alfonso Nishikawa
>>>
>>> 2016-12-07 6:24 GMT-01:00 Aruna Karunarathna <sujithu...@gmail.com>:
>>>
>>>> Hi all,
>>>>
>>>> I tried to follow the tutorial in [1], and when trying the compiling
>>>> avro schemes, the goracompiler command fails as follows. I checked out the
>>>> latest code from github.
>>>>
>>>> aruna@aruna-laptop:~/projects/gora/bin$ sh gora goracompiler
>>>> Exception in thread "main" java.lang.NoClassDefFoundError:
>>>> org/slf4j/LoggerFactory
>>>>     at org.apache.gora.compiler.cli.GoraCompilerCLI.<clinit>(GoraCo
>>>> mpilerCLI.java:31)
>>>> Caused by: java.lang.ClassNotFoundException: org.slf4j.LoggerFactory
>>>>     at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>>>>     at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>>>>     at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>>>     ... 1 more
>>>>
>>>> Any idea why the command is failing?
>>>>
>>>> [1]. https://gora.apache.org/current/tutorial.html
>>>>
>>>> Regards,
>>>> Aruna
>>>> --
>>>>
>>>> *Aruna Karunarathna*
>>>> Mobile: +94 71 9040362  <http://www.wso2.com>
>>>>
>>>
>>>
>>
>>
>> --
>>
>> *Aruna Karunarathna*
>> Mobile: +94 71 9040362  <http://www.wso2.com>
>>
>
>

Reply via email to