[
https://issues.apache.org/jira/browse/BEAM-3214?focusedWorklogId=106540&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-106540
]
ASF GitHub Bot logged work on BEAM-3214:
----------------------------------------
Author: ASF GitHub Bot
Created on: 29/May/18 10:10
Start Date: 29/May/18 10:10
Worklog Time Spent: 10m
Work Description: iemejia commented on a change in pull request #5499:
[BEAM-3214] Add integration test for HBaseIO.
URL: https://github.com/apache/beam/pull/5499#discussion_r191352878
##########
File path:
.test-infra/kubernetes/hbase/SmallITCluster/hbase-single-node-cluster.yml
##########
@@ -0,0 +1,101 @@
+# Licensed to the Apache Software Foundation (ASF) under one or more
+# contributor license agreements. See the NOTICE file distributed with
+# this work for additional information regarding copyright ownership.
+# The ASF licenses this file to You under the Apache License, Version 2.0
+# (the "License"); you may not use this file except in compliance with
+# the License. You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+#
+# This script creates single node HBase cluster. This means all three services
+# zookeeper, HBase master and regionserver are running on the same kubernetes
pod.
+# Service "hbase" allow to reach HBase pod using its FQDN.
+# StatefulSet "hbase" creates one replica of HBase fully configured node. In
order
+# to access the cluster from outside of GCP please also run this configuration
file with:
+# hbase-single-node-cluster-for-local-dev.yml
+#
+
+apiVersion: v1
+kind: Service
+metadata:
+ name: hbase
+ labels:
+ name: hbase
+spec:
+ clusterIP: None
+ ports:
+ - name: zookeeper
+ port: 2181
+ targetPort: 2181
+ - name: rest
+ port: 8080
+ targetPort: 8080
+ - name: rest-info
+ port: 8085
+ targetPort: 8085
+ - name: thrift
+ port: 9090
+ targetPort: 9090
+ - name: thrift-info
+ port: 9095
+ targetPort: 9095
+ - name: hbase-master
+ port: 16000
+ targetPort: 16000
+ - name: web
+ port: 16010
+ targetPort: 16010
+ - name: region
+ port: 16201
+ targetPort: 16201
+ - name: region-info
+ port: 16301
+ targetPort: 16301
+ selector:
+ name: hbase
+
+---
+
+apiVersion: apps/v1
+kind: StatefulSet
+metadata:
+ name: hbase
+spec:
+ selector:
+ matchLabels:
+ name: hbase
+ serviceName: "hbase"
+ replicas: 1
+ template:
+ metadata:
+ labels:
+ name: hbase
+ spec:
+ containers:
+ - name: hbase
+ image: harisekhon/hbase:latest
Review comment:
We should probably pin this to version 1.2 since this is the official stable
one and the one the connector uses.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 106540)
Time Spent: 1h 10m (was: 1h)
> Add an integration test for HBaseIO Read/Write transforms
> ---------------------------------------------------------
>
> Key: BEAM-3214
> URL: https://issues.apache.org/jira/browse/BEAM-3214
> Project: Beam
> Issue Type: Test
> Components: io-java-hbase
> Reporter: Chamikara Jayalath
> Assignee: Kamil Szewczyk
> Priority: Major
> Time Spent: 1h 10m
> Remaining Estimate: 0h
>
> We should add an small scale integration test for HBaseIO that can be run as
> a part of 'beam_PostCommit_Java_MavenInstall' and
> 'beam_PostCommit_Java_ValidatesRunner*' Jenkins test suites.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)