File tree Expand file tree Collapse file tree 10 files changed +20
-20
lines changed Expand file tree Collapse file tree 10 files changed +20
-20
lines changed Original file line number Diff line number Diff line change @@ -120,8 +120,8 @@ ln -s /stackable/apache-druid-${PRODUCT} /stackable/druid
120120#  Force to overwrite the existing 'run-druid'
121121ln -sf /stackable/bin/run-druid /stackable/druid/bin/run-druid
122122
123- #  All files and folders owned by root to support running as arbitrary users
124- #  This is best practice as all container users will belong to the root group (0)
123+ #  All files and folders owned by root group  to support running as arbitrary users. 
124+ #  This is best practice as all container users will belong to the root group (0). 
125125chown -R ${STACKABLE_USER_UID}:0 /stackable
126126chmod -R g=u /stackable
127127EOF
Original file line number Diff line number Diff line change @@ -169,8 +169,8 @@ find . -name 'hadoop-*tests.jar' -type f -delete
169169#  It is so non-root users (as we are) can mount a FUSE device and let other users access it
170170echo "user_allow_other"  > /etc/fuse.conf
171171
172- #  All files and folders owned by root to support running as arbitrary users
173- #  This is best practice as all container users will belong to the root group (0)
172+ #  All files and folders owned by root group  to support running as arbitrary users. 
173+ #  This is best practice as all container users will belong to the root group (0). 
174174chown -R ${STACKABLE_USER_UID}:0 /stackable
175175chmod -R g=u /stackable
176176EOF
Original file line number Diff line number Diff line change @@ -354,8 +354,8 @@ ln --symbolic --logical --verbose "/stackable/hbase-${PRODUCT}" /stackable/hbase
354354ln --symbolic --logical --verbose "/stackable/hbase-operator-tools-${HBASE_OPERATOR_TOOLS}"  /stackable/hbase-operator-tools
355355ln --symbolic --logical --verbose "/stackable/phoenix/phoenix-server-hbase-${HBASE_PROFILE}.jar"  "/stackable/hbase/lib/phoenix-server-hbase-${HBASE_PROFILE}.jar" 
356356
357- #  All files and folders owned by root to support running as arbitrary users
358- #  This is best practice as all container users will belong to the root group (0)
357+ #  All files and folders owned by root group  to support running as arbitrary users. 
358+ #  This is best practice as all container users will belong to the root group (0). 
359359chown -R ${STACKABLE_USER_UID}:0 /stackable
360360chmod -R g=u /stackable
361361EOF
Original file line number Diff line number Diff line change @@ -22,8 +22,8 @@ rm -rf /var/cache/yum
2222
2323curl "https://repo.stackable.tech/repository/packages/hello-world/hello-world-${PRODUCT}.jar"  -o /stackable/hello-world.jar
2424
25- #  All files and folders owned by root to support running as arbitrary users
26- #  This is best practice as all container users will belong to the root group (0)
25+ #  All files and folders owned by root group  to support running as arbitrary users. 
26+ #  This is best practice as all container users will belong to the root group (0). 
2727chown -R ${STACKABLE_USER_UID}:0 /stackable
2828chmod -R g=u /stackable
2929EOF
Original file line number Diff line number Diff line change @@ -133,8 +133,8 @@ cp /stackable/hadoop/share/hadoop/tools/lib/hadoop-azure-${HADOOP}.jar /stackabl
133133cp /stackable/hadoop/share/hadoop/tools/lib/azure-storage-${AZURE_STORAGE}.jar /stackable/hive-metastore/lib/
134134cp /stackable/hadoop/share/hadoop/tools/lib/azure-keyvault-core-${AZURE_KEYVAULT_CORE}.jar /stackable/hive-metastore/lib/
135135
136- #  All files and folders owned by root to support running as arbitrary users
137- #  This is best practice as all container users will belong to the root group (0)
136+ #  All files and folders owned by root group  to support running as arbitrary users. 
137+ #  This is best practice as all container users will belong to the root group (0). 
138138chown -R ${STACKABLE_USER_UID}:0 /stackable
139139chmod -R g=u /stackable
140140EOF
Original file line number Diff line number Diff line change @@ -78,8 +78,8 @@ ln -s /stackable/bin/kcat-${KCAT} /stackable/bin/kcat
7878ln -s /stackable/bin/kcat /stackable/kcat
7979ln -s /stackable/kafka_${SCALA}-${PRODUCT} /stackable/kafka
8080
81- #  All files and folders owned by root to support running as arbitrary users
82- #  This is best practice as all container users will belong to the root group (0)
81+ #  All files and folders owned by root group  to support running as arbitrary users. 
82+ #  This is best practice as all container users will belong to the root group (0). 
8383chown -R ${STACKABLE_USER_UID}:0 /stackable
8484chmod -R g=u /stackable
8585EOF
Original file line number Diff line number Diff line change @@ -123,8 +123,8 @@ pip install --no-cache-dir nipyapi==0.19.1 && \
123123#  This can be removed once older versions / operators using this are no longer supported
124124ln -s /stackable/stackable-bcrypt.jar /bin/stackable-bcrypt.jar
125125
126- #  All files and folders owned by root to support running as arbitrary users
127- #  This is best practice as all container users will belong to the root group (0)
126+ #  All files and folders owned by root group  to support running as arbitrary users. 
127+ #  This is best practice as all container users will belong to the root group (0). 
128128chown -R ${STACKABLE_USER_UID}:0 /stackable
129129chmod -R g=u /stackable
130130EOF
Original file line number Diff line number Diff line change @@ -95,8 +95,8 @@ rm /stackable/omid-tso-server/conf/hbase-site.xml
9595#  To support arbitrary user ids on OpenShift, this folder must belong to the root group.
9696mkdir /stackable/logs
9797
98- #  All files and folders owned by root to support running as arbitrary users
99- #  This is best practice as all container users will belong to the root group (0)
98+ #  All files and folders owned by root group  to support running as arbitrary users. 
99+ #  This is best practice as all container users will belong to the root group (0). 
100100chown -R ${STACKABLE_USER_UID}:0 /stackable
101101chmod -R g=u /stackable
102102EOF
Original file line number Diff line number Diff line change @@ -112,8 +112,8 @@ microdnf install \
112112microdnf clean all
113113rm -rf /var/cache/yum
114114
115- #  All files and folders owned by root to support running as arbitrary users
116- #  This is best practice as all container users will belong to the root group (0)
115+ #  All files and folders owned by root group  to support running as arbitrary users. 
116+ #  This is best practice as all container users will belong to the root group (0). 
117117chown -R ${STACKABLE_USER_UID}:0 /stackable
118118chmod -R g=u /stackable
119119EOF
Original file line number Diff line number Diff line change @@ -322,8 +322,8 @@ ln -s "/stackable/jmx/jmx_prometheus_javaagent-${JMX_EXPORTER}.jar" /stackable/j
322322#  Symlink example jar, so that we can easily use it in tests
323323ln -s /stackable/spark/examples/jars/spark-examples_*.jar /stackable/spark/examples/jars/spark-examples.jar
324324
325- #  All files and folders owned by root to support running as arbitrary users
326- #  This is best practice as all container users will belong to the root group (0)
325+ #  All files and folders owned by root group  to support running as arbitrary users. 
326+ #  This is best practice as all container users will belong to the root group (0). 
327327chown -R ${STACKABLE_USER_UID}:0 /stackable
328328chmod -R g=u /stackable
329329EOF
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments