hit-lacus commented on issue #1172: KYLIN-4385 Fix HiveProducer can not write 
to Hive Table(AWS S3)
URL: https://github.com/apache/kylin/pull/1172#issuecomment-607089486
 
 
   # Test on AWS EMR 5.28
   
   - tomcat/webapps/kylin/WEB-INF/classes/kylinMetrics.xml
   
   ```xml
   <bean id="initMetricsManager" 
class="org.springframework.beans.factory.config.MethodInvokingFactoryBean">
       <property name="targetClass" 
value="org.apache.kylin.metrics.MetricsManager"/>
       <property name="targetMethod" value="initMetricsManager"/>
       <property name="arguments">
           <list>
               <ref bean="hiveSink"/>
               <map key-type="org.apache.kylin.metrics.lib.ActiveReservoir" 
value-type="java.util.List">
                   <!--
                   <entry key-ref="instantReservoir">
                       <list>
                           <bean class="org.apache.kylin.common.util.Pair">
                               <property name="first"
                                         
value="org.apache.kylin.metrics.lib.impl.kafka.KafkaReservoirReporter"/>
                               <property name="second">
                                   <props>
                                       <prop 
key="bootstrap.servers">sandbox:9092</prop>
                                   </props>
                               </property>
                           </bean>
                       </list>
                   </entry>
                   -->
                   <entry key-ref="blockingReservoir">
                       <list>
                           <bean class="org.apache.kylin.common.util.Pair">
                               <property name="first"
                                         
value="org.apache.kylin.metrics.lib.impl.hive.HiveReservoirReporter"/>
                               <property name="second">
                                   <props>
                                       <prop 
key="fs.defaultFS">s3://xiaoxiang-yu</prop>
                                   </props>
                               </property>
                           </bean>
                       </list>
                   </entry>
               </map>
           </list>
       </property>
   </bean>
   ``` 

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

Reply via email to