sekikn commented on PR #997:
URL: https://github.com/apache/bigtop/pull/997#issuecomment-1244876216

   +1, no difference in the RPM packages between the original and patched 
versions (without the `parentDir` option). The latter also passed the smoke 
test.
   
   ```
   $ ./gradlew zeppelin-clean zeppelin-pkg repo -Dbuildwithdeps=true
   
   ...
   
   BUILD SUCCESSFUL in 1h 36m 51s
   49 actionable tasks: 49 executed
   $ mv output/zeppelin ~
   $ curl -sL https://github.com/apache/bigtop/pull/997.patch | git apply
   $ git diff --stat 
    bigtop-packages/src/common/zeppelin/install_zeppelin.sh | 47 
+++++++++++++++++++++++++++--------------------
    bigtop-packages/src/rpm/zeppelin/SPECS/zeppelin.spec    | 56 
+++++++++++++++++++++++++++++++++-----------------------
    2 files changed, 60 insertions(+), 43 deletions(-)
   $ ./gradlew zeppelin-clean zeppelin-pkg repo
   
   ...
   
   BUILD SUCCESSFUL in 1h 38m 36s
   9 actionable tasks: 9 executed
   $ diff <(rpm -qlp output/zeppelin/x86_64/zeppelin-0.10.1-1.fc35.x86_64.rpm) 
<(rpm -qlp ~/zeppelin/x86_64/zeppelin-0.10.1-1.fc35.x86_64.rpm)
   $ cd provisioner/docker
   $ ./docker-hadoop.sh -d -C config_fedora-35.yaml -F 
docker-compose-cgroupv2.yml -r file:///bigtop-home/output -G -k zeppelin -s 
zeppelin -c 1
   
   ...
   
   > Task :bigtop-tests:smoke-tests:zeppelin:test
   Finished generating test XML results (0.013 secs) into: 
/bigtop-home/bigtop-tests/smoke-tests/zeppelin/build/test-results/test
   Generating HTML test report...
   Finished generating test html results (0.034 secs) into: 
/bigtop-home/bigtop-tests/smoke-tests/zeppelin/build/reports/tests/test
   Now testing...
   :bigtop-tests:smoke-tests:zeppelin:test (Thread[Daemon worker,5,main]) 
completed. Took 15.798 secs.
   
   BUILD SUCCESSFUL in 2m 14s
   30 actionable tasks: 5 executed, 25 up-to-date
   ```
   
   The `parentDir` option also works fine.
   
   ```
   $ ./gradlew zeppelin-clean zeppelin-pkg -PparentDir=/usr/bigtop
   
   ...
   
   BUILD SUCCESSFUL in 1h 34m 58s
   7 actionable tasks: 7 executed
   $ rpm -qlpv output/zeppelin/x86_64/zeppelin-0.10.1-1.fc35.x86_64.rpm         
                                                                                
                                                        
   -rwxr-xr-x    1 root     root                     4115 Sep 13 01:15 
/etc/rc.d/init.d/zeppelin                                                       
                                                                                
          
   drwxr-xr-x    2 zeppelin zeppelin                    0 Sep 13 01:15 
/etc/zeppelin                                                                   
                                                                                
          
   drwxr-xr-x    2 zeppelin zeppelin                    0 Sep 13 01:15 
/usr/bigtop/etc/zeppelin/conf.dist                                              
                                                                                
          
   
   ...
   
   -rwxr-xr-x    1 zeppelin zeppelin                26753 Feb 24  2022 
/usr/bigtop/etc/zeppelin/conf.dist/zeppelin-site.xml.template                   
                                                                                
          
   drwxr-xr-x    2 root     root                        0 Sep 13 01:15 
/usr/bigtop/usr/lib/zeppelin/bin                                                
                                                                                
          
   
   ...
   
   -rw-r--r--    1 root     root                 29696461 Sep 13 01:14 
/usr/bigtop/usr/lib/zeppelin/zeppelin-web-0.10.1.war                            
                                                                                
          
   drwxr-xr-x    2 root     root                        0 Sep 13 01:15 
/usr/bigtop/usr/share/doc/zeppelin-0.10.1                                       
                                                                                
          
   
   ...
   
   -rw-r--r--    1 root     root                     1271 Feb 24  2022 
/usr/bigtop/usr/share/doc/zeppelin-0.10.1/licenses/LICENSE-sqlline-1.0.2        
                                                                                
          
   drwxr-xr-x    2 zeppelin zeppelin                    0 Sep 13 01:15 
/usr/bigtop/var/lib/zeppelin                                                    
                                                                                
          
   
   ...
   
   -rwxr-xr-x    1 zeppelin zeppelin               155923 Feb 24  2022 
/usr/bigtop/var/lib/zeppelin/notebook/Spark Tutorial/8. PySpark Conda Env in 
Yarn Mode_2GE79Y5FV.zpln  
   drwxr-xr-x    2 zeppelin zeppelin                    0 Sep 13 01:15 
/var/log/zeppelin                                                               
                                                                                
          
   drwxr-xr-x    2 zeppelin zeppelin                    0 Sep 13 01:15 
/var/run/zeppelin                                                               
                                                                                
          
   drwxr-xr-x    2 zeppelin zeppelin                    0 Sep 13 01:15 
/var/run/zeppelin/webapps                                                       
                                                                                
          
   ```


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to