[ 
https://issues.apache.org/jira/browse/FALCON-165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Arpit Gupta updated FALCON-165:
-------------------------------

    Attachment: FALCON-165-1383607413.patch

After offline discussions with Venkatesh and Ashish the approach has been 
altered a bit.

We will now generate 1 tar ball but the tar ball will be different for embedded 
and distributed mode. So you still need to run with -Pdistributed but instead 
of generating 4 tar balls it will only generate 1.

I did a simple falcon admin -version command in both modes and it returned 
appropriate info.

{code}
[arpit@teamramrod ~/Downloads/falcon-distributed-0.4-incubating-SNAPSHOT]$ 
./bin/falcon admin -version
Unable to find a $JAVA_HOME at "/usr", continuing with system-provided Java...
Falcon server build version: 
{Version:"0.4-incubating-SNAPSHOT-raf688ef2f8eee37c3c10e0b3ce6cda234ba01d1e",Mode:"distributed"}
{code}



{code}
[arpit@teamramrod ~/Downloads/falcon-0.4-incubating-SNAPSHOT]$ ./bin/falcon 
admin -version
Unable to find a $JAVA_HOME at "/usr", continuing with system-provided Java...
Falcon server build version: 
{Version:"0.4-incubating-SNAPSHOT-raf688ef2f8eee37c3c10e0b3ce6cda234ba01d1e",Mode:"embedded"}
{code}.

Still need to run it through more tests but i think its ready for initial 
review.

> simplify packaging to create one package instead of client, falcon and prism 
> packages
> -------------------------------------------------------------------------------------
>
>                 Key: FALCON-165
>                 URL: https://issues.apache.org/jira/browse/FALCON-165
>             Project: Falcon
>          Issue Type: Improvement
>            Reporter: Arpit Gupta
>            Assignee: Arpit Gupta
>         Attachments: FALCON-165-1383504173.patch, 
> FALCON-165-1383504576.patch, FALCON-165-1383607413.patch
>
>
> Currently we create multiple packages client, falcon server and prism server.
> Our scripts how ever already add only specific files to the class path based 
> on what server we are running. I think we can also move to a single package.
> Introduced a new java property falcon.domain which will be set to falcon or 
> prism based on what service is being started. 
> Thus the user can set all the various startup and run time properties for 
> both falcon and prism in the same file and the appropriate configs will be 
> picked up based on what service is being started. 



--
This message was sent by Atlassian JIRA
(v6.1#6144)

Reply via email to