[ 
https://issues.apache.org/jira/browse/BEAM-3997?focusedWorklogId=92469&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-92469
 ]

ASF GitHub Bot logged work on BEAM-3997:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Apr/18 09:25
            Start Date: 19/Apr/18 09:25
    Worklog Time Spent: 10m 
      Work Description: iemejia commented on a change in pull request #5097: 
[BEAM-3997] HCatalog integration test
URL: https://github.com/apache/beam/pull/5097#discussion_r182672166
 
 

 ##########
 File path: 
sdks/java/io/hcatalog/src/test/java/org/apache/beam/sdk/io/hcatalog/HCatalogIOIT.java
 ##########
 @@ -0,0 +1,168 @@
+/*
+ * 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.
+ */
+package org.apache.beam.sdk.io.hcatalog;
+
+import static org.apache.beam.sdk.io.common.IOITHelper.getHashForRecordCount;
+import static 
org.apache.beam.sdk.io.hcatalog.HCatalogIOTestUtils.getHCatRecords;
+
+import com.google.common.collect.ImmutableMap;
+import java.util.Map;
+import org.apache.beam.sdk.io.common.HashingFn;
+import org.apache.beam.sdk.io.common.IOTestPipelineOptions;
+import org.apache.beam.sdk.options.PipelineOptionsFactory;
+import org.apache.beam.sdk.testing.PAssert;
+import org.apache.beam.sdk.testing.TestPipeline;
+import org.apache.beam.sdk.transforms.Combine;
+import org.apache.beam.sdk.transforms.Create;
+import org.apache.beam.sdk.transforms.DoFn;
+import org.apache.beam.sdk.transforms.ParDo;
+import org.apache.beam.sdk.values.PCollection;
+import org.apache.hive.hcatalog.data.HCatRecord;
+import org.junit.After;
+import org.junit.BeforeClass;
+import org.junit.Rule;
+import org.junit.Test;
+import org.junit.runner.RunWith;
+import org.junit.runners.JUnit4;
+
+
+/**
+ * IOIT test to run HCatalog.
+ * <p>You can run tests on prepared hCatalog infrastructure.</p>
+ * <p>To run test specify number of records (numberOfRecords) to write to 
HCatalog,
+ * metastore url (HCatalogMetastoreHostName),
+ * metastore port (HCatalogMetastorePort),
+ * hive port (HCatalogHivePort)
+ * and hive database (HCatalogHiveDatabase)
+ * to create a hive test table.</p>
+ * <pre>{@code mvn clean verify -Pio-it -pl sdks/java/io/hcatalog/
 
 Review comment:
   Please review that this is 'copy/pasteable' from the generated javadocs, 
e.g. adding '\' for breaklines + correct scapes if needed.

----------------------------------------------------------------
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: 92469)
    Time Spent: 50m  (was: 40m)

> implement HCatalog integration test
> -----------------------------------
>
>                 Key: BEAM-3997
>                 URL: https://issues.apache.org/jira/browse/BEAM-3997
>             Project: Beam
>          Issue Type: Test
>          Components: testing
>            Reporter: Dariusz Aniszewski
>            Assignee: Jason Kuster
>            Priority: Major
>          Time Spent: 50m
>  Remaining Estimate: 0h
>




--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to