You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ratis.apache.org by "Lei Xie (Jira)" <ji...@apache.org> on 2022/08/09 08:12:00 UTC

[jira] [Updated] (RATIS-1667) Combine example folder and root folder

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

Lei Xie updated RATIS-1667:
---------------------------
    Description: 
However, the output file is much bigger
{code:java}
$ls -lh ratis-assembly/target/apache-ratis-3.0.0-SNAPSHOT-bin.tar.gz 
-rw-r--r--  1 szetszwo  staff    40M Aug  8 21:36 ratis-assembly/target/apache-ratis-3.0.0-SNAPSHOT-bin.tar.gz {code}
A reason is that there are two jars
{code:java}
$ls -lh apache-ratis-3.0.0-SNAPSHOT-bin/examples/lib/
total 42872
-rw-r--r--  1 szetszwo  staff    21M Jan 22  2020 ratis-examples-3.0.0-SNAPSHOT.jar
$ls -lh apache-ratis-3.0.0-SNAPSHOT-bin/ratis-shell/lib/shell/
total 42296
-rw-r--r--  1 szetszwo  staff    21M Jan 22  2020 ratis-shell-3.0.0-SNAPSHOT-jar-with-dependencies.jar {code}
 

I believe their contents are mostly the same. Is there a way to combine them?

[https://github.com/apache/ratis/pull/705]

  was:
However, the output file is much bigger

 
{code:java}
$ls -lh ratis-assembly/target/apache-ratis-3.0.0-SNAPSHOT-bin.tar.gz 
-rw-r--r--  1 szetszwo  staff    40M Aug  8 21:36 ratis-assembly/target/apache-ratis-3.0.0-SNAPSHOT-bin.tar.gz {code}
 

 

A reason is that there are two jars

 
{code:java}
$ls -lh apache-ratis-3.0.0-SNAPSHOT-bin/examples/lib/
total 42872
-rw-r--r--  1 szetszwo  staff    21M Jan 22  2020 ratis-examples-3.0.0-SNAPSHOT.jar
$ls -lh apache-ratis-3.0.0-SNAPSHOT-bin/ratis-shell/lib/shell/
total 42296
-rw-r--r--  1 szetszwo  staff    21M Jan 22  2020 ratis-shell-3.0.0-SNAPSHOT-jar-with-dependencies.jar {code}
 


I believe their contents are mostly the same. Is there a way to combine them?

 

https://github.com/apache/ratis/pull/705


> Combine example folder and root folder
> --------------------------------------
>
>                 Key: RATIS-1667
>                 URL: https://issues.apache.org/jira/browse/RATIS-1667
>             Project: Ratis
>          Issue Type: Sub-task
>            Reporter: Lei Xie
>            Priority: Major
>
> However, the output file is much bigger
> {code:java}
> $ls -lh ratis-assembly/target/apache-ratis-3.0.0-SNAPSHOT-bin.tar.gz 
> -rw-r--r--  1 szetszwo  staff    40M Aug  8 21:36 ratis-assembly/target/apache-ratis-3.0.0-SNAPSHOT-bin.tar.gz {code}
> A reason is that there are two jars
> {code:java}
> $ls -lh apache-ratis-3.0.0-SNAPSHOT-bin/examples/lib/
> total 42872
> -rw-r--r--  1 szetszwo  staff    21M Jan 22  2020 ratis-examples-3.0.0-SNAPSHOT.jar
> $ls -lh apache-ratis-3.0.0-SNAPSHOT-bin/ratis-shell/lib/shell/
> total 42296
> -rw-r--r--  1 szetszwo  staff    21M Jan 22  2020 ratis-shell-3.0.0-SNAPSHOT-jar-with-dependencies.jar {code}
>  
> I believe their contents are mostly the same. Is there a way to combine them?
> [https://github.com/apache/ratis/pull/705]



--
This message was sent by Atlassian Jira
(v8.20.10#820010)