Bump up versions in packaging modules and remove commons-lang3 dep
This commit is contained in:
committed by
vinoth chandar
parent
eca49a255e
commit
18a39715c9
@@ -28,6 +28,7 @@ import com.uber.hoodie.common.table.{HoodieTableConfig, HoodieTableMetaClient}
|
|||||||
import com.uber.hoodie.common.util.{FSUtils, TypedProperties}
|
import com.uber.hoodie.common.util.{FSUtils, TypedProperties}
|
||||||
import com.uber.hoodie.config.HoodieWriteConfig
|
import com.uber.hoodie.config.HoodieWriteConfig
|
||||||
import com.uber.hoodie.exception.HoodieException
|
import com.uber.hoodie.exception.HoodieException
|
||||||
|
import com.uber.hoodie.hive.{HiveSyncConfig, HiveSyncTool}
|
||||||
import org.apache.avro.generic.GenericRecord
|
import org.apache.avro.generic.GenericRecord
|
||||||
import org.apache.hadoop.fs.{FileSystem, Path}
|
import org.apache.hadoop.fs.{FileSystem, Path}
|
||||||
import org.apache.hadoop.hive.conf.HiveConf
|
import org.apache.hadoop.hive.conf.HiveConf
|
||||||
|
|||||||
@@ -124,14 +124,7 @@ class DataSourceTest extends AssertionsForJUnit {
|
|||||||
assertTrue(HoodieDataSourceHelpers.hasNewCommits(fs, basePath, "000"))
|
assertTrue(HoodieDataSourceHelpers.hasNewCommits(fs, basePath, "000"))
|
||||||
|
|
||||||
// Read RO View
|
// Read RO View
|
||||||
try {
|
val hoodieROViewDF1 = spark.read.format("com.uber.hoodie").load(basePath + "/*/*/*/*")
|
||||||
val hoodieROViewDF1 = spark.read.format("com.uber.hoodie")
|
assertEquals(100, hoodieROViewDF1.count()) // still 100, since we only updated
|
||||||
.load(basePath + "/*/*/*/*")
|
|
||||||
fail("we should error out, since no compaction has yet occurred.")
|
|
||||||
} catch {
|
|
||||||
case e: AnalysisException => {
|
|
||||||
// do nothing
|
|
||||||
}
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>hoodie</artifactId>
|
<artifactId>hoodie</artifactId>
|
||||||
<groupId>com.uber.hoodie</groupId>
|
<groupId>com.uber.hoodie</groupId>
|
||||||
<version>0.4.3-SNAPSHOT</version>
|
<version>0.4.4-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
@@ -76,11 +76,6 @@
|
|||||||
<artifactId>commons-logging</artifactId>
|
<artifactId>commons-logging</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.commons</groupId>
|
|
||||||
<artifactId>commons-lang3</artifactId>
|
|
||||||
</dependency>
|
|
||||||
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.parquet</groupId>
|
<groupId>org.apache.parquet</groupId>
|
||||||
<artifactId>parquet-avro</artifactId>
|
<artifactId>parquet-avro</artifactId>
|
||||||
@@ -174,7 +169,6 @@
|
|||||||
<include>com.twitter:parquet-hadoop-bundle</include>
|
<include>com.twitter:parquet-hadoop-bundle</include>
|
||||||
<include>com.twitter.common:objectsize</include>
|
<include>com.twitter.common:objectsize</include>
|
||||||
<include>commons-logging:commons-logging</include>
|
<include>commons-logging:commons-logging</include>
|
||||||
<include>org.apache.commons:commons-lang3</include>
|
|
||||||
</includes>
|
</includes>
|
||||||
</artifactSet>
|
</artifactSet>
|
||||||
<finalName>${project.artifactId}-${project.version}${hiveJarSuffix}</finalName>
|
<finalName>${project.artifactId}-${project.version}${hiveJarSuffix}</finalName>
|
||||||
|
|||||||
@@ -19,7 +19,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>hoodie</artifactId>
|
<artifactId>hoodie</artifactId>
|
||||||
<groupId>com.uber.hoodie</groupId>
|
<groupId>com.uber.hoodie</groupId>
|
||||||
<version>0.4.3-SNAPSHOT</version>
|
<version>0.4.4-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|||||||
@@ -21,7 +21,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<artifactId>hoodie</artifactId>
|
<artifactId>hoodie</artifactId>
|
||||||
<groupId>com.uber.hoodie</groupId>
|
<groupId>com.uber.hoodie</groupId>
|
||||||
<version>0.4.3-SNAPSHOT</version>
|
<version>0.4.4-SNAPSHOT</version>
|
||||||
<relativePath>../../pom.xml</relativePath>
|
<relativePath>../../pom.xml</relativePath>
|
||||||
</parent>
|
</parent>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
@@ -239,10 +239,6 @@
|
|||||||
<groupId>org.apache.avro</groupId>
|
<groupId>org.apache.avro</groupId>
|
||||||
<artifactId>avro</artifactId>
|
<artifactId>avro</artifactId>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
|
||||||
<groupId>org.apache.commons</groupId>
|
|
||||||
<artifactId>commons-lang3</artifactId>
|
|
||||||
</dependency>
|
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.commons</groupId>
|
<groupId>org.apache.commons</groupId>
|
||||||
<artifactId>commons-configuration2</artifactId>
|
<artifactId>commons-configuration2</artifactId>
|
||||||
|
|||||||
Reference in New Issue
Block a user