|
128 | 128 | <hive.classifier></hive.classifier> |
129 | 129 | <!-- Version used in Maven Hive dependency --> |
130 | 130 | <hive.version>1.2.1.spark2</hive.version> |
| 131 | + <hive23.version>2.3.4</hive23.version> |
131 | 132 | <!-- Version used for internal directory structure --> |
132 | 133 | <hive.version.short>1.2.1</hive.version.short> |
133 | 134 | <!-- note that this should be compatible with Kafka brokers version 0.10 and up --> |
|
1414 | 1415 | <groupId>commons-logging</groupId> |
1415 | 1416 | <artifactId>commons-logging</artifactId> |
1416 | 1417 | </exclusion> |
1417 | | - <!-- Begin of Hive 2.3.4 exclusion --> |
| 1418 | + <!-- Begin of Hive 2.3 exclusion --> |
1418 | 1419 | <!-- jetty-all conflict with jetty 9.4.12.v20180830 --> |
1419 | 1420 | <exclusion> |
1420 | 1421 | <groupId>org.eclipse.jetty.aggregate</groupId> |
|
1425 | 1426 | <groupId>org.apache.logging.log4j</groupId> |
1426 | 1427 | <artifactId>*</artifactId> |
1427 | 1428 | </exclusion> |
1428 | | - <!-- End of Hive 2.3.4 exclusion --> |
| 1429 | + <!-- Hive includes javax.servlet to fix the Hive on Spark test failure; see HIVE-12783 --> |
| 1430 | + <exclusion> |
| 1431 | + <groupId>org.eclipse.jetty.orbit</groupId> |
| 1432 | + <artifactId>javax.servlet</artifactId> |
| 1433 | + </exclusion> |
| 1434 | + <!-- hive-storage-api is needed and must be explicitly included later --> |
| 1435 | + <exclusion> |
| 1436 | + <groupId>org.apache.hive</groupId> |
| 1437 | + <artifactId>hive-storage-api</artifactId> |
| 1438 | + </exclusion> |
| 1439 | + <!-- End of Hive 2.3 exclusion --> |
1429 | 1440 | </exclusions> |
1430 | 1441 | </dependency> |
1431 | 1442 |
|
|
1544 | 1555 | <groupId>org.json</groupId> |
1545 | 1556 | <artifactId>json</artifactId> |
1546 | 1557 | </exclusion> |
1547 | | - <!-- Begin of Hive 2.3.4 exclusion --> |
| 1558 | + <!-- Begin of Hive 2.3 exclusion --> |
1548 | 1559 | <!-- Do not need Tez --> |
1549 | 1560 | <exclusion> |
1550 | 1561 | <groupId>${hive.group}</groupId> |
|
1564 | 1575 | <groupId>org.apache.logging.log4j</groupId> |
1565 | 1576 | <artifactId>*</artifactId> |
1566 | 1577 | </exclusion> |
1567 | | - <!-- End of Hive 2.3.4 exclusion --> |
| 1578 | + <!-- End of Hive 2.3 exclusion --> |
1568 | 1579 | </exclusions> |
1569 | 1580 | </dependency> |
1570 | 1581 | <dependency> |
|
1673 | 1684 | <groupId>org.slf4j</groupId> |
1674 | 1685 | <artifactId>slf4j-log4j12</artifactId> |
1675 | 1686 | </exclusion> |
| 1687 | + <!-- Begin of Hive 2.3 exclusion --> |
| 1688 | + <!-- Hive removes the HBase Metastore; see HIVE-17234 --> |
| 1689 | + <exclusion> |
| 1690 | + <groupId>org.apache.hbase</groupId> |
| 1691 | + <artifactId>hbase-client</artifactId> |
| 1692 | + </exclusion> |
| 1693 | + <exclusion> |
| 1694 | + <groupId>co.cask.tephra</groupId> |
| 1695 | + <artifactId>*</artifactId> |
| 1696 | + </exclusion> |
| 1697 | + <!-- End of Hive 2.3 exclusion --> |
1676 | 1698 | </exclusions> |
1677 | 1699 | </dependency> |
1678 | 1700 |
|
|
1730 | 1752 | <groupId>org.codehaus.groovy</groupId> |
1731 | 1753 | <artifactId>groovy-all</artifactId> |
1732 | 1754 | </exclusion> |
1733 | | - <!-- Begin of Hive 2.3.4 exclusion --> |
| 1755 | + <!-- Begin of Hive 2.3 exclusion --> |
1734 | 1756 | <!-- parquet-hadoop-bundle:1.8.1 conflict with 1.10.1 --> |
1735 | 1757 | <exclusion> |
1736 | 1758 | <groupId>org.apache.parquet</groupId> |
|
1745 | 1767 | <groupId>tomcat</groupId> |
1746 | 1768 | <artifactId>jasper-runtime</artifactId> |
1747 | 1769 | </exclusion> |
1748 | | - <!-- End of Hive 2.3.4 exclusion --> |
| 1770 | + <!-- End of Hive 2.3 exclusion --> |
1749 | 1771 | </exclusions> |
1750 | 1772 | </dependency> |
1751 | 1773 |
|
|
1811 | 1833 | <groupId>org.codehaus.groovy</groupId> |
1812 | 1834 | <artifactId>groovy-all</artifactId> |
1813 | 1835 | </exclusion> |
1814 | | - <!-- Begin of Hive 2.3.4 exclusion --> |
| 1836 | + <!-- Begin of Hive 2.3 exclusion --> |
1815 | 1837 | <!-- Exclude log4j-slf4j-impl, otherwise throw NCDFE when starting spark-shell --> |
1816 | 1838 | <exclusion> |
1817 | 1839 | <groupId>org.apache.logging.log4j</groupId> |
1818 | 1840 | <artifactId>log4j-slf4j-impl</artifactId> |
1819 | 1841 | </exclusion> |
1820 | | - <!-- End of Hive 2.3.4 exclusion --> |
| 1842 | + <!-- End of Hive 2.3 exclusion --> |
1821 | 1843 | </exclusions> |
1822 | 1844 | </dependency> |
1823 | 1845 |
|
1824 | | - <!-- Hive 2.3 need hive-llap-client, We add it here, otherwise the scope won't work --> |
| 1846 | + <!-- hive-llap-common is needed when registry UDFs in Hive 2.3. |
| 1847 | + We add it here, otherwise -Phive-provided won't work. --> |
1825 | 1848 | <dependency> |
1826 | 1849 | <groupId>org.apache.hive</groupId> |
1827 | | - <artifactId>hive-llap-client</artifactId> |
1828 | | - <version>2.3.4</version> |
| 1850 | + <artifactId>hive-llap-common</artifactId> |
| 1851 | + <version>${hive23.version}</version> |
1829 | 1852 | <scope>${hive.deps.scope}</scope> |
1830 | 1853 | <exclusions> |
1831 | 1854 | <exclusion> |
|
1836 | 1859 | <groupId>org.apache.hive</groupId> |
1837 | 1860 | <artifactId>hive-serde</artifactId> |
1838 | 1861 | </exclusion> |
| 1862 | + <exclusion> |
| 1863 | + <groupId>org.slf4j</groupId> |
| 1864 | + <artifactId>slf4j-api</artifactId> |
| 1865 | + </exclusion> |
| 1866 | + </exclusions> |
| 1867 | + </dependency> |
| 1868 | + <!-- hive-llap-client is needed when run MapReduce test in Hive 2.3. --> |
| 1869 | + <dependency> |
| 1870 | + <groupId>org.apache.hive</groupId> |
| 1871 | + <artifactId>hive-llap-client</artifactId> |
| 1872 | + <version>${hive23.version}</version> |
| 1873 | + <scope>test</scope> |
| 1874 | + <exclusions> |
| 1875 | + <exclusion> |
| 1876 | + <groupId>org.apache.hive</groupId> |
| 1877 | + <artifactId>hive-common</artifactId> |
| 1878 | + </exclusion> |
| 1879 | + <exclusion> |
| 1880 | + <groupId>org.apache.hive</groupId> |
| 1881 | + <artifactId>hive-serde</artifactId> |
| 1882 | + </exclusion> |
| 1883 | + <exclusion> |
| 1884 | + <groupId>org.apache.hive</groupId> |
| 1885 | + <artifactId>hive-llap-common</artifactId> |
| 1886 | + </exclusion> |
1839 | 1887 | <exclusion> |
1840 | 1888 | <groupId>org.apache.curator</groupId> |
1841 | 1889 | <artifactId>curator-framework</artifactId> |
|
1844 | 1892 | <groupId>org.apache.curator</groupId> |
1845 | 1893 | <artifactId>apache-curator</artifactId> |
1846 | 1894 | </exclusion> |
| 1895 | + <exclusion> |
| 1896 | + <groupId>org.apache.zookeeper</groupId> |
| 1897 | + <artifactId>zookeeper</artifactId> |
| 1898 | + </exclusion> |
| 1899 | + <exclusion> |
| 1900 | + <groupId>org.slf4j</groupId> |
| 1901 | + <artifactId>slf4j-api</artifactId> |
| 1902 | + </exclusion> |
1847 | 1903 | </exclusions> |
1848 | 1904 | </dependency> |
1849 | 1905 |
|
|
2741 | 2797 | <zookeeper.version>3.4.13</zookeeper.version> |
2742 | 2798 | <hive.group>org.apache.hive</hive.group> |
2743 | 2799 | <hive.classifier>core</hive.classifier> |
2744 | | - <hive.version>2.3.4</hive.version> |
2745 | | - <hive.version.short>${hive.version}</hive.version.short> |
| 2800 | + <hive.version>${hive23.version}</hive.version> |
| 2801 | + <hive.version.short>2.3.4</hive.version.short> |
2746 | 2802 | <hive.parquet.version>${parquet.version}</hive.parquet.version> |
2747 | | - <orc.classifier></orc.classifier> |
2748 | 2803 | <hive.parquet.group>org.apache.parquet</hive.parquet.group> |
| 2804 | + <orc.classifier></orc.classifier> |
2749 | 2805 | <datanucleus-core.version>4.1.17</datanucleus-core.version> |
2750 | 2806 | </properties> |
2751 | 2807 | <dependencies> |
|
0 commit comments