You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by GitBox <gi...@apache.org> on 2022/09/03 03:41:19 UTC

[GitHub] [skywalking-java] lv-lifeng commented on pull request #302: Add plugin to support impala jdbc driver

lv-lifeng commented on PR #302:
URL: https://github.com/apache/skywalking-java/pull/302#issuecomment-1236040378

   I tried to add a auto test case but failed. `configuration.yml` does not seem to support impala `quickstart.yml`.
   ```yml
   version: "3"
   services:
     hms:
       image: ${IMPALA_QUICKSTART_IMAGE_PREFIX:-}impala_quickstart_hms
       # Give the HMS an explicit hostname to avoid issues with docker-compose-generated
       # hostnames including underscore, which is rejected by Java's URL parser.
       container_name: quickstart-hive-metastore
       command: ["hms"]
       volumes:
         # Volume used to store Apache Derby database.
         - impala-quickstart-warehouse:/var/lib/hive
         # Warehouse directory. HMS does file operations so needs access to the
         # shared volume.
         - impala-quickstart-warehouse:/user/hive/warehouse
         - ./quickstart_conf:/opt/hive/conf:ro
       networks:
         - quickstart-network
     statestored:
       image: ${IMPALA_QUICKSTART_IMAGE_PREFIX:-}statestored
       ports:
         # Web debug UI
         - "${QUICKSTART_LISTEN_ADDR:?Please set QUICKSTART_LISTEN_ADDR environment variable}:25010:25010"
       command: ["-redirect_stdout_stderr=false", "-logtostderr", "-v=1"]
       volumes:
         - ./quickstart_conf:/opt/impala/conf:ro
       networks:
         - quickstart-network
     catalogd:
       depends_on:
         - statestored
         - hms
       image: ${IMPALA_QUICKSTART_IMAGE_PREFIX:-}catalogd
       ports:
         # Web debug UI
         - "${QUICKSTART_LISTEN_ADDR:?Please set QUICKSTART_LISTEN_ADDR environment variable}:25020:25020"
       command: ["-redirect_stdout_stderr=false", "-logtostderr", "-v=1",
                 "-hms_event_polling_interval_s=1", "-invalidate_tables_timeout_s=999999"]
       volumes:
         # Warehouse directory. Catalog does file operations so needs access to the
         # shared volume.
         - impala-quickstart-warehouse:/user/hive/warehouse
         - ./quickstart_conf:/opt/impala/conf:ro
       networks:
         - quickstart-network
     impalad-1:
       image: ${IMPALA_QUICKSTART_IMAGE_PREFIX:-}impalad_coord_exec
       depends_on:
         - statestored
         - catalogd
       ports:
         # Beeswax endpoint (deprecated)
         - "${QUICKSTART_LISTEN_ADDR:?Please set QUICKSTART_LISTEN_ADDR environment variable}:21000:21000"
         # HS2 endpoint
         - "${QUICKSTART_LISTEN_ADDR:?Please set QUICKSTART_LISTEN_ADDR environment variable}:21050:21050"
         # Web debug UI
         - "${QUICKSTART_LISTEN_ADDR:?Please set QUICKSTART_LISTEN_ADDR environment variable}:25000:25000"
         # HS2 over HTTP endpoint.
         - "${QUICKSTART_LISTEN_ADDR:?Please set QUICKSTART_LISTEN_ADDR environment variable}:28000:28000"
       command: [ "-v=1",
                 "-redirect_stdout_stderr=false", "-logtostderr",
                 "-kudu_master_hosts=kudu-master-1:7051",
                 "-mt_dop_auto_fallback=true",
                 "-default_query_options=mt_dop=4,default_file_format=parquet,default_transactional_type=insert_only",
                 "-mem_limit=4gb"]
       environment:
         # Keep the Java heap small to preserve memory for query execution.
         - JAVA_TOOL_OPTIONS="-Xmx1g"
       volumes:
         - impala-quickstart-warehouse:/user/hive/warehouse
         - ./quickstart_conf:/opt/impala/conf:ro
       networks:
         - quickstart-network
   volumes:
     impala-quickstart-hms:
     impala-quickstart-warehouse:
   
   networks:
     quickstart-network:
       external: true
   ```


-- 
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: notifications-unsubscribe@skywalking.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org