Repository: ambari Updated Branches: refs/heads/trunk 2917d0ded -> 672eee34d
http://git-wip-us.apache.org/repos/asf/ambari/blob/672eee34/contrib/views/hive/src/main/resources/view.xml ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/main/resources/view.xml b/contrib/views/hive/src/main/resources/view.xml index ac97d58..9c8b103 100644 --- a/contrib/views/hive/src/main/resources/view.xml +++ b/contrib/views/hive/src/main/resources/view.xml @@ -17,10 +17,12 @@ <view> <name>HIVE</name> <label>Hive</label> - <version>0.1.0</version> + <version>0.2.0</version> <min-ambari-version>1.7.*</min-ambari-version> + <validator-class>org.apache.ambari.view.hive.PropertyValidator</validator-class> + <!-- HDFS Configs --> <parameter> <name>webhdfs.url</name> @@ -159,10 +161,6 @@ <persistence> <entity> - <class>org.apache.ambari.view.hive.persistence.DataStoreStorage$SmokeTestEntity</class> - <id-property>id</id-property> - </entity> - <entity> <class>org.apache.ambari.view.hive.resources.jobs.viewJobs.JobImpl</class> <id-property>id</id-property> </entity> http://git-wip-us.apache.org/repos/asf/ambari/blob/672eee34/contrib/views/hive/src/test/java/org/apache/ambari/view/hive/resources/jobs/ATSParserTest.java ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/test/java/org/apache/ambari/view/hive/resources/jobs/ATSParserTest.java b/contrib/views/hive/src/test/java/org/apache/ambari/view/hive/resources/jobs/ATSParserTest.java index d2ff02c..c5cc52b 100644 --- a/contrib/views/hive/src/test/java/org/apache/ambari/view/hive/resources/jobs/ATSParserTest.java +++ b/contrib/views/hive/src/test/java/org/apache/ambari/view/hive/resources/jobs/ATSParserTest.java @@ -70,6 +70,26 @@ public class ATSParserTest { protected static class ATSRequestsDelegateStub implements ATSRequestsDelegate { @Override + public String hiveQueryIdDirectUrl(String entity) { + return null; + } + + @Override + public String hiveQueryIdOperationIdUrl(String operationId) { + return null; + } + + @Override + public String tezDagDirectUrl(String entity) { + return null; + } + + @Override + public String tezDagNameUrl(String name) { + return null; + } + + @Override public JSONObject hiveQueryIdList(String username) { return (JSONObject) JSONValue.parse( "{ \"entities\" : [ { \"domain\" : \"DEFAULT\",\n" + @@ -409,4 +429,4 @@ public class ATSParserTest { ); } } -} +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/672eee34/contrib/views/hive/src/test/java/org/apache/ambari/view/hive/resources/jobs/AggregatorTest.java ---------------------------------------------------------------------- diff --git a/contrib/views/hive/src/test/java/org/apache/ambari/view/hive/resources/jobs/AggregatorTest.java b/contrib/views/hive/src/test/java/org/apache/ambari/view/hive/resources/jobs/AggregatorTest.java index 50642ac..10d052a 100644 --- a/contrib/views/hive/src/test/java/org/apache/ambari/view/hive/resources/jobs/AggregatorTest.java +++ b/contrib/views/hive/src/test/java/org/apache/ambari/view/hive/resources/jobs/AggregatorTest.java @@ -393,4 +393,4 @@ public class AggregatorTest { this.hiveQueryIds = hiveQueryIds; } } -} +} \ No newline at end of file http://git-wip-us.apache.org/repos/asf/ambari/blob/672eee34/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index c703bcf..eb9b587 100644 --- a/pom.xml +++ b/pom.xml @@ -300,6 +300,7 @@ <exclude>contrib/ambari-scom/metrics-sink/target/**</exclude> <exclude>contrib/views/*/target/**</exclude> <exclude>contrib/views/hive/src/main/resources/ui/hive-web/vendor/codemirror/**</exclude> + <exclude>contrib/views/hive/src/main/resources/ui/hive-web/.bowerrc</exclude> <exclude>contrib/views/files/src/main/resources/ui/bower_components/**</exclude> <exclude>contrib/views/files/src/main/resources/ui/node/**</exclude> <exclude>contrib/views/files/src/main/resources/ui/node_modules/**</exclude>