001.hive-hiveserver2可以启动,但是beeline客户端连接不上的问题
1.开启
zk
[centos@s101 /soft/hive/bin]$xzk.sh start
[centos@s101 /soft/hive/bin]$start-dfs.sh
启动 hdfs yarn
start-all.sh
2.开启hiveserver2服务,
启动hiveserver2
hiveserver2
先看看端口10000 是否起来
netstat -anop | grep 10000
查看hiveserver2 web服务
xxx.xxx.xx.101:10002
3.连接beeline客户端
使用新一代客户端beeline连接hiveserver2
beeline -u jdbc:hive2://localhost:10000
发现报错
解决办法 : /soft/hive/conf/hive-site.xml修改这部分为主机地址
<property>
<name>hive.server2.thrift.bind.host</name>
<value>**.**.**.**</value> //主机地址
<description>Bind host on which to run the HiveServer2 Thrift interface.
Can be overridden by setting $HIVE_SERVER2_THRIFT_BIND_HOST</description>
</property>
/soft/hive/conf/hive-site.xml 完整版
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 | <? xml version="1.0" encoding="UTF-8" standalone="no"?> <? xml-stylesheet type="text/xsl" href="configuration.xsl"?> <!-- 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. --> < configuration > <!-- WARNING!!! This file is auto generated for documentation purposes ONLY! --> <!-- WARNING!!! Any changes you make to this file will be ignored by Hive. --> <!-- WARNING!!! You must make your changes in hive-site.xml instead. --> <!-- Hive Execution Parameters --> < property > < name >javax.jdo.option.ConnectionDriverName</ name > < value >com.mysql.jdbc.Driver</ value > < description >Driver class name for a JDBC metastore</ description > </ property > < property > < name >javax.jdo.option.ConnectionPassword</ name > < value >root</ value > < description >password to use against metastore database</ description > </ property > < property > < name >javax.jdo.option.ConnectionURL</ name > < value >jdbc:mysql://s101:3306/hive</ value > < description > JDBC connect string for a JDBC metastore. To use SSL to encrypt/authenticate the connection, provide database-specific SSL flag in the connection URL. For example, jdbc:postgresql://myhost/db?ssl=true for postgres database. </ description > </ property > < property > < name >javax.jdo.option.ConnectionUserName</ name > < value >root</ value > < description >Username to use against metastore database</ description > </ property > < property > < name >hive.exec.script.wrapper</ name > < value /> < description /> </ property > < property > < name >hive.exec.plan</ name > < value /> < description /> </ property > < property > < name >hive.exec.stagingdir</ name > < value >.hive-staging</ value > < description >Directory name that will be created inside table locations in order to support HDFS encryption. This is replaces ${hive.exec.scratchdir} for query results with the exception of read-only tables. In all cases ${hive.exec.scratchdir} is still used for other temporary files, such as job plans.</ description > </ property > < property > < name >hive.exec.scratchdir</ name > < value >/tmp/hive</ value > < description >HDFS root scratch dir for Hive jobs which gets created with write all (733) permission. For each connecting user, an HDFS scratch dir: ${hive.exec.scratchdir}/< username > is created, with ${hive.scratch.dir.permission}.</ description > </ property > < property > < name >hive.exec.local.scratchdir</ name > < value >/home/centos/hive/centos</ value > < description >Local scratch space for Hive jobs</ description > </ property > < property > < name >hive.downloaded.resources.dir</ name > < value >/home/centos/hive/${hive.session.id}_resources</ value > < description >Temporary local directory for added resources in the remote file system.</ description > </ property > < property > < name >hive.scratch.dir.permission</ name > < value >700</ value > < description >The permission for the user specific scratch directories that get created.</ description > </ property > < property > < name >hive.exec.submitviachild</ name > < value >false</ value > < description /> </ property > < property > < name >hive.exec.submit.local.task.via.child</ name > < value >true</ value > < description > Determines whether local tasks (typically mapjoin hashtable generation phase) runs in separate JVM (true recommended) or not. Avoids the overhead of spawning new JVM, but can lead to out-of-memory issues. </ description > </ property > < property > < name >hive.exec.script.maxerrsize</ name > < value >100000</ value > < description > Maximum number of bytes a script is allowed to emit to standard error (per map-reduce task). This prevents runaway scripts from filling logs partitions to capacity </ description > </ property > < property > < name >hive.exec.script.allow.partial.consumption</ name > < value >false</ value > < description > When enabled, this option allows a user script to exit successfully without consuming all the data from the standard input. </ description > </ property > < property > < name >stream.stderr.reporter.prefix</ name > < value >reporter:</ value > < description >Streaming jobs that log to standard error with this prefix can log counter or status information.</ description > </ property > < property > < name >stream.stderr.reporter.enabled</ name > < value >true</ value > < description >Enable consumption of status and counter messages for streaming jobs.</ description > </ property > < property > < name >hive.exec.compress.output</ name > < value >false</ value > < description > This controls whether the final outputs of a query (to a local/HDFS file or a Hive table) is compressed. The compression codec and other options are determined from Hadoop config variables mapred.output.compress* </ description > </ property > < property > < name >hive.exec.compress.intermediate</ name > < value >false</ value > < description > This controls whether intermediate files produced by Hive between multiple map-reduce jobs are compressed. The compression codec and other options are determined from Hadoop config variables mapred.output.compress* </ description > </ property > < property > < name >hive.intermediate.compression.codec</ name > < value /> < description /> </ property > < property > < name >hive.intermediate.compression.type</ name > < value /> < description /> </ property > < property > < name >hive.exec.reducers.bytes.per.reducer</ name > < value >256000000</ value > < description >size per reducer.The default is 256Mb, i.e if the input size is 1G, it will use 4 reducers.</ description > </ property > < property > < name >hive.exec.reducers.max</ name > < value >1009</ value > < description > max number of reducers will be used. If the one specified in the configuration parameter mapred.reduce.tasks is negative, Hive will use this one as the max number of reducers when automatically determine number of reducers. </ description > </ property > < property > < name >hive.exec.pre.hooks</ name > < value /> < description > Comma-separated list of pre-execution hooks to be invoked for each statement. A pre-execution hook is specified as the name of a Java class which implements the org.apache.hadoop.hive.ql.hooks.ExecuteWithHookContext interface. </ description > </ property > < property > < name >hive.exec.post.hooks</ name > < value /> < description > Comma-separated list of post-execution hooks to be invoked for each statement. A post-execution hook is specified as the name of a Java class which implements the org.apache.hadoop.hive.ql.hooks.ExecuteWithHookContext interface. </ description > </ property > < property > < name >hive.exec.failure.hooks</ name > < value /> < description > Comma-separated list of on-failure hooks to be invoked for each statement. An on-failure hook is specified as the name of Java class which implements the org.apache.hadoop.hive.ql.hooks.ExecuteWithHookContext interface. </ description > </ property > < property > < name >hive.exec.query.redactor.hooks</ name > < value /> < description > Comma-separated list of hooks to be invoked for each query which can tranform the query before it's placed in the job.xml file. Must be a Java class which extends from the org.apache.hadoop.hive.ql.hooks.Redactor abstract class. </ description > </ property > < property > < name >hive.client.stats.publishers</ name > < value /> < description > Comma-separated list of statistics publishers to be invoked on counters on each job. A client stats publisher is specified as the name of a Java class which implements the org.apache.hadoop.hive.ql.stats.ClientStatsPublisher interface. </ description > </ property > < property > < name >hive.exec.parallel</ name > < value >false</ value > < description >Whether to execute jobs in parallel</ description > </ property > < property > < name >hive.exec.parallel.thread.number</ name > < value >8</ value > < description >How many jobs at most can be executed in parallel</ description > </ property > < property > < name >hive.mapred.reduce.tasks.speculative.execution</ name > < value >true</ value > < description >Whether speculative execution for reducers should be turned on. </ description > </ property > < property > < name >hive.exec.counters.pull.interval</ name > < value >1000</ value > < description > The interval with which to poll the JobTracker for the counters the running job. The smaller it is the more load there will be on the jobtracker, the higher it is the less granular the caught will be. </ description > </ property > < property > < name >hive.exec.dynamic.partition</ name > < value >true</ value > < description >Whether or not to allow dynamic partitions in DML/DDL.</ description > </ property > < property > < name >hive.exec.dynamic.partition.mode</ name > < value >strict</ value > < description > In strict mode, the user must specify at least one static partition in case the user accidentally overwrites all partitions. In nonstrict mode all partitions are allowed to be dynamic. </ description > </ property > < property > < name >hive.exec.max.dynamic.partitions</ name > < value >1000</ value > < description >Maximum number of dynamic partitions allowed to be created in total.</ description > </ property > < property > < name >hive.exec.max.dynamic.partitions.pernode</ name > < value >100</ value > < description >Maximum number of dynamic partitions allowed to be created in each mapper/reducer node.</ description > </ property > < property > < name >hive.exec.max.created.files</ name > < value >100000</ value > < description >Maximum number of HDFS files created by all mappers/reducers in a MapReduce job.</ description > </ property > < property > < name >hive.exec.default.partition.name</ name > < value >__HIVE_DEFAULT_PARTITION__</ value > < description > The default partition name in case the dynamic partition column value is null/empty string or any other values that cannot be escaped. This value must not contain any special character used in HDFS URI (e.g., ':', '%', '/' etc). The user has to be aware that the dynamic partition value should not contain this value to avoid confusions. </ description > </ property > < property > < name >hive.lockmgr.zookeeper.default.partition.name</ name > < value >__HIVE_DEFAULT_ZOOKEEPER_PARTITION__</ value > < description /> </ property > < property > < name >hive.exec.show.job.failure.debug.info</ name > < value >true</ value > < description > If a job fails, whether to provide a link in the CLI to the task with the most failures, along with debugging hints if applicable. </ description > </ property > < property > < name >hive.exec.job.debug.capture.stacktraces</ name > < value >true</ value > < description > Whether or not stack traces parsed from the task logs of a sampled failed task for each failed job should be stored in the SessionState </ description > </ property > < property > < name >hive.exec.job.debug.timeout</ name > < value >30000</ value > < description /> </ property > < property > < name >hive.exec.tasklog.debug.timeout</ name > < value >20000</ value > < description /> </ property > < property > < name >hive.output.file.extension</ name > < value /> < description > String used as a file extension for output files. If not set, defaults to the codec extension for text files (e.g. ".gz"), or no extension otherwise. </ description > </ property > < property > < name >hive.exec.mode.local.auto</ name > < value >false</ value > < description >Let Hive determine whether to run in local mode automatically</ description > </ property > < property > < name >hive.exec.mode.local.auto.inputbytes.max</ name > < value >134217728</ value > < description >When hive.exec.mode.local.auto is true, input bytes should less than this for local mode.</ description > </ property > < property > < name >hive.exec.mode.local.auto.input.files.max</ name > < value >4</ value > < description >When hive.exec.mode.local.auto is true, the number of tasks should less than this for local mode.</ description > </ property > < property > < name >hive.exec.drop.ignorenonexistent</ name > < value >true</ value > < description >Do not report an error if DROP TABLE/VIEW/Index/Function specifies a non-existent table/view/index/function</ description > </ property > < property > < name >hive.ignore.mapjoin.hint</ name > < value >true</ value > < description >Ignore the mapjoin hint</ description > </ property > < property > < name >hive.file.max.footer</ name > < value >100</ value > < description >maximum number of lines for footer user can define for a table file</ description > </ property > < property > < name >hive.resultset.use.unique.column.names</ name > < value >true</ value > < description > Make column names unique in the result set by qualifying column names with table alias if needed. Table alias will be added to column names for queries of type "select *" or if query explicitly uses table alias "select r1.x..". </ description > </ property > < property > < name >fs.har.impl</ name > < value >org.apache.hadoop.hive.shims.HiveHarFileSystem</ value > < description >The implementation for accessing Hadoop Archives. Note that this won't be applicable to Hadoop versions less than 0.20</ description > </ property > < property > < name >hive.metastore.warehouse.dir</ name > < value >/user/hive/warehouse</ value > < description >location of default database for the warehouse</ description > </ property > < property > < name >hive.metastore.uris</ name > < value /> < description >Thrift URI for the remote metastore. Used by metastore client to connect to remote metastore.</ description > </ property > < property > < name >hive.metastore.fastpath</ name > < value >false</ value > < description >Used to avoid all of the proxies and object copies in the metastore. Note, if this is set, you MUST use a local metastore (hive.metastore.uris must be empty) otherwise undefined and most likely undesired behavior will result</ description > </ property > < property > < name >hive.metastore.fshandler.threads</ name > < value >20</ value > < description >Number of threads to be allocated for metastore handler for fs operations.</ description > </ property > < property > < name >hive.metastore.hbase.catalog.cache.size</ name > < value >50000</ value > < description >Maximum number of objects we will place in the hbase metastore catalog cache. The objects will be divided up by types that we need to cache.</ description > </ property > < property > < name >hive.metastore.hbase.aggregate.stats.cache.size</ name > < value >10000</ value > < description >Maximum number of aggregate stats nodes that we will place in the hbase metastore aggregate stats cache.</ description > </ property > < property > < name >hive.metastore.hbase.aggregate.stats.max.partitions</ name > < value >10000</ value > < description >Maximum number of partitions that are aggregated per cache node.</ description > </ property > < property > < name >hive.metastore.hbase.aggregate.stats.false.positive.probability</ name > < value >0.01</ value > < description >Maximum false positive probability for the Bloom Filter used in each aggregate stats cache node (default 1%).</ description > </ property > < property > < name >hive.metastore.hbase.aggregate.stats.max.variance</ name > < value >0.1</ value > < description >Maximum tolerable variance in number of partitions between a cached node and our request (default 10%).</ description > </ property > < property > < name >hive.metastore.hbase.cache.ttl</ name > < value >600s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Number of seconds for a cached node to be active in the cache before they become stale. </ description > </ property > < property > < name >hive.metastore.hbase.cache.max.writer.wait</ name > < value >5000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Number of milliseconds a writer will wait to acquire the writelock before giving up. </ description > </ property > < property > < name >hive.metastore.hbase.cache.max.reader.wait</ name > < value >1000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Number of milliseconds a reader will wait to acquire the readlock before giving up. </ description > </ property > < property > < name >hive.metastore.hbase.cache.max.full</ name > < value >0.9</ value > < description >Maximum cache full % after which the cache cleaner thread kicks in.</ description > </ property > < property > < name >hive.metastore.hbase.cache.clean.until</ name > < value >0.8</ value > < description >The cleaner thread cleans until cache reaches this % full size.</ description > </ property > < property > < name >hive.metastore.hbase.connection.class</ name > < value >org.apache.hadoop.hive.metastore.hbase.VanillaHBaseConnection</ value > < description >Class used to connection to HBase</ description > </ property > < property > < name >hive.metastore.hbase.aggr.stats.cache.entries</ name > < value >10000</ value > < description >How many in stats objects to cache in memory</ description > </ property > < property > < name >hive.metastore.hbase.aggr.stats.memory.ttl</ name > < value >60s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Number of seconds stats objects live in memory after they are read from HBase. </ description > </ property > < property > < name >hive.metastore.hbase.aggr.stats.invalidator.frequency</ name > < value >5s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. How often the stats cache scans its HBase entries and looks for expired entries </ description > </ property > < property > < name >hive.metastore.hbase.aggr.stats.hbase.ttl</ name > < value >604800s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Number of seconds stats entries live in HBase cache after they are created. They may be invalided by updates or partition drops before this. Default is one week. </ description > </ property > < property > < name >hive.metastore.hbase.file.metadata.threads</ name > < value >1</ value > < description >Number of threads to use to read file metadata in background to cache it.</ description > </ property > < property > < name >hive.metastore.connect.retries</ name > < value >3</ value > < description >Number of retries while opening a connection to metastore</ description > </ property > < property > < name >hive.metastore.failure.retries</ name > < value >1</ value > < description >Number of retries upon failure of Thrift metastore calls</ description > </ property > < property > < name >hive.metastore.port</ name > < value >9083</ value > < description >Hive metastore listener port</ description > </ property > < property > < name >hive.metastore.client.connect.retry.delay</ name > < value >1s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Number of seconds for the client to wait between consecutive connection attempts </ description > </ property > < property > < name >hive.metastore.client.socket.timeout</ name > < value >600s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. MetaStore Client socket timeout in seconds </ description > </ property > < property > < name >hive.metastore.client.socket.lifetime</ name > < value >0s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. MetaStore Client socket lifetime in seconds. After this time is exceeded, client reconnects on the next MetaStore operation. A value of 0s means the connection has an infinite lifetime. </ description > </ property > < property > < name >hive.metastore.ds.connection.url.hook</ name > < value /> < description >Name of the hook to use for retrieving the JDO connection URL. If empty, the value in javax.jdo.option.ConnectionURL is used</ description > </ property > < property > < name >javax.jdo.option.Multithreaded</ name > < value >true</ value > < description >Set this to true if multiple threads access metastore through JDO concurrently.</ description > </ property > < property > < name >hive.metastore.dbaccess.ssl.properties</ name > < value /> < description > Comma-separated SSL properties for metastore to access database when JDO connection URL enables SSL access. e.g. javax.net.ssl.trustStore=/tmp/truststore,javax.net.ssl.trustStorePassword=pwd. </ description > </ property > < property > < name >hive.hmshandler.retry.attempts</ name > < value >10</ value > < description >The number of times to retry a HMSHandler call if there were a connection error.</ description > </ property > < property > < name >hive.hmshandler.retry.interval</ name > < value >2000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. The time between HMSHandler retry attempts on failure. </ description > </ property > < property > < name >hive.hmshandler.force.reload.conf</ name > < value >false</ value > < description > Whether to force reloading of the HMSHandler configuration (including the connection URL, before the next metastore query that accesses the datastore. Once reloaded, this value is reset to false. Used for testing only. </ description > </ property > < property > < name >hive.metastore.server.max.message.size</ name > < value >104857600</ value > < description >Maximum message size in bytes a HMS will accept.</ description > </ property > < property > < name >hive.metastore.server.min.threads</ name > < value >200</ value > < description >Minimum number of worker threads in the Thrift server's pool.</ description > </ property > < property > < name >hive.metastore.server.max.threads</ name > < value >1000</ value > < description >Maximum number of worker threads in the Thrift server's pool.</ description > </ property > < property > < name >hive.metastore.server.tcp.keepalive</ name > < value >true</ value > < description >Whether to enable TCP keepalive for the metastore server. Keepalive will prevent accumulation of half-open connections.</ description > </ property > < property > < name >hive.metastore.archive.intermediate.original</ name > < value >_INTERMEDIATE_ORIGINAL</ value > < description > Intermediate dir suffixes used for archiving. Not important what they are, as long as collisions are avoided </ description > </ property > < property > < name >hive.metastore.archive.intermediate.archived</ name > < value >_INTERMEDIATE_ARCHIVED</ value > < description /> </ property > < property > < name >hive.metastore.archive.intermediate.extracted</ name > < value >_INTERMEDIATE_EXTRACTED</ value > < description /> </ property > < property > < name >hive.metastore.kerberos.keytab.file</ name > < value /> < description >The path to the Kerberos Keytab file containing the metastore Thrift server's service principal.</ description > </ property > < property > < name >hive.metastore.kerberos.principal</ name > < value >hive-metastore/_HOST@EXAMPLE.COM</ value > < description > The service principal for the metastore Thrift server. The special string _HOST will be replaced automatically with the correct host name. </ description > </ property > < property > < name >hive.metastore.sasl.enabled</ name > < value >false</ value > < description >If true, the metastore Thrift interface will be secured with SASL. Clients must authenticate with Kerberos.</ description > </ property > < property > < name >hive.metastore.thrift.framed.transport.enabled</ name > < value >false</ value > < description >If true, the metastore Thrift interface will use TFramedTransport. When false (default) a standard TTransport is used.</ description > </ property > < property > < name >hive.metastore.thrift.compact.protocol.enabled</ name > < value >false</ value > < description > If true, the metastore Thrift interface will use TCompactProtocol. When false (default) TBinaryProtocol will be used. Setting it to true will break compatibility with older clients running TBinaryProtocol. </ description > </ property > < property > < name >hive.metastore.token.signature</ name > < value /> < description >The delegation token service name to match when selecting a token from the current user's tokens.</ description > </ property > < property > < name >hive.cluster.delegation.token.store.class</ name > < value >org.apache.hadoop.hive.thrift.MemoryTokenStore</ value > < description >The delegation token store implementation. Set to org.apache.hadoop.hive.thrift.ZooKeeperTokenStore for load-balanced cluster.</ description > </ property > < property > < name >hive.cluster.delegation.token.store.zookeeper.connectString</ name > < value /> < description > The ZooKeeper token store connect string. You can re-use the configuration value set in hive.zookeeper.quorum, by leaving this parameter unset. </ description > </ property > < property > < name >hive.cluster.delegation.token.store.zookeeper.znode</ name > < value >/hivedelegation</ value > < description > The root path for token store data. Note that this is used by both HiveServer2 and MetaStore to store delegation Token. One directory gets created for each of them. The final directory names would have the servername appended to it (HIVESERVER2, METASTORE). </ description > </ property > < property > < name >hive.cluster.delegation.token.store.zookeeper.acl</ name > < value /> < description > ACL for token store entries. Comma separated list of ACL entries. For example: sasl:hive/host1@MY.DOMAIN:cdrwa,sasl:hive/host2@MY.DOMAIN:cdrwa Defaults to all permissions for the hiveserver2/metastore process user. </ description > </ property > < property > < name >hive.metastore.cache.pinobjtypes</ name > < value >Table,StorageDescriptor,SerDeInfo,Partition,Database,Type,FieldSchema,Order</ value > < description >List of comma separated metastore object types that should be pinned in the cache</ description > </ property > < property > < name >datanucleus.connectionPoolingType</ name > < value >BONECP</ value > < description >Specify connection pool library for datanucleus</ description > </ property > < property > < name >datanucleus.rdbms.initializeColumnInfo</ name > < value >NONE</ value > < description >initializeColumnInfo setting for DataNucleus; set to NONE at least on Postgres.</ description > </ property > < property > < name >datanucleus.schema.validateTables</ name > < value >false</ value > < description >validates existing schema against code. turn this on if you want to verify existing schema</ description > </ property > < property > < name >datanucleus.schema.validateColumns</ name > < value >false</ value > < description >validates existing schema against code. turn this on if you want to verify existing schema</ description > </ property > < property > < name >datanucleus.schema.validateConstraints</ name > < value >false</ value > < description >validates existing schema against code. turn this on if you want to verify existing schema</ description > </ property > < property > < name >datanucleus.storeManagerType</ name > < value >rdbms</ value > < description >metadata store type</ description > </ property > < property > < name >datanucleus.schema.autoCreateAll</ name > < value >false</ value > < description >Auto creates necessary schema on a startup if one doesn't exist. Set this to false, after creating it once.To enable auto create also set hive.metastore.schema.verification=false. Auto creation is not recommended for production use cases, run schematool command instead.</ description > </ property > < property > < name >hive.metastore.schema.verification</ name > < value >true</ value > < description > Enforce metastore schema version consistency. True: Verify that version information stored in is compatible with one from Hive jars. Also disable automatic schema migration attempt. Users are required to manually migrate schema after Hive upgrade which ensures proper metastore schema migration. (Default) False: Warn if the version information stored in metastore doesn't match with one from in Hive jars. </ description > </ property > < property > < name >hive.metastore.schema.verification.record.version</ name > < value >false</ value > < description > When true the current MS version is recorded in the VERSION table. If this is disabled and verification is enabled the MS will be unusable. </ description > </ property > < property > < name >datanucleus.transactionIsolation</ name > < value >read-committed</ value > < description >Default transaction isolation level for identity generation.</ description > </ property > < property > < name >datanucleus.cache.level2</ name > < value >false</ value > < description >Use a level 2 cache. Turn this off if metadata is changed independently of Hive metastore server</ description > </ property > < property > < name >datanucleus.cache.level2.type</ name > < value >none</ value > < description /> </ property > < property > < name >datanucleus.identifierFactory</ name > < value >datanucleus1</ value > < description > Name of the identifier factory to use when generating table/column names etc. 'datanucleus1' is used for backward compatibility with DataNucleus v1 </ description > </ property > < property > < name >datanucleus.rdbms.useLegacyNativeValueStrategy</ name > < value >true</ value > < description /> </ property > < property > < name >datanucleus.plugin.pluginRegistryBundleCheck</ name > < value >LOG</ value > < description >Defines what happens when plugin bundles are found and are duplicated [EXCEPTION|LOG|NONE]</ description > </ property > < property > < name >hive.metastore.batch.retrieve.max</ name > < value >300</ value > < description > Maximum number of objects (tables/partitions) can be retrieved from metastore in one batch. The higher the number, the less the number of round trips is needed to the Hive metastore server, but it may also cause higher memory requirement at the client side. </ description > </ property > < property > < name >hive.metastore.batch.retrieve.table.partition.max</ name > < value >1000</ value > < description >Maximum number of objects that metastore internally retrieves in one batch.</ description > </ property > < property > < name >hive.metastore.init.hooks</ name > < value /> < description > A comma separated list of hooks to be invoked at the beginning of HMSHandler initialization. An init hook is specified as the name of Java class which extends org.apache.hadoop.hive.metastore.MetaStoreInitListener. </ description > </ property > < property > < name >hive.metastore.pre.event.listeners</ name > < value /> < description >List of comma separated listeners for metastore events.</ description > </ property > < property > < name >hive.metastore.event.listeners</ name > < value /> < description /> </ property > < property > < name >hive.metastore.event.db.listener.timetolive</ name > < value >86400s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. time after which events will be removed from the database listener queue </ description > </ property > < property > < name >hive.metastore.authorization.storage.checks</ name > < value >false</ value > < description > Should the metastore do authorization checks against the underlying storage (usually hdfs) for operations like drop-partition (disallow the drop-partition if the user in question doesn't have permissions to delete the corresponding directory on the storage). </ description > </ property > < property > < name >hive.metastore.event.clean.freq</ name > < value >0s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Frequency at which timer task runs to purge expired events in metastore. </ description > </ property > < property > < name >hive.metastore.event.expiry.duration</ name > < value >0s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Duration after which events expire from events table </ description > </ property > < property > < name >hive.metastore.execute.setugi</ name > < value >true</ value > < description > In unsecure mode, setting this property to true will cause the metastore to execute DFS operations using the client's reported user and group permissions. Note that this property must be set on both the client and server sides. Further note that its best effort. If client sets its to true and server sets it to false, client setting will be ignored. </ description > </ property > < property > < name >hive.metastore.partition.name.whitelist.pattern</ name > < value /> < description >Partition names will be checked against this regex pattern and rejected if not matched.</ description > </ property > < property > < name >hive.metastore.integral.jdo.pushdown</ name > < value >false</ value > < description > Allow JDO query pushdown for integral partition columns in metastore. Off by default. This improves metastore perf for integral columns, especially if there's a large number of partitions. However, it doesn't work correctly with integral values that are not normalized (e.g. have leading zeroes, like 0012). If metastore direct SQL is enabled and works, this optimization is also irrelevant. </ description > </ property > < property > < name >hive.metastore.try.direct.sql</ name > < value >true</ value > < description > Whether the Hive metastore should try to use direct SQL queries instead of the DataNucleus for certain read paths. This can improve metastore performance when fetching many partitions or column statistics by orders of magnitude; however, it is not guaranteed to work on all RDBMS-es and all versions. In case of SQL failures, the metastore will fall back to the DataNucleus, so it's safe even if SQL doesn't work for all queries on your datastore. If all SQL queries fail (for example, your metastore is backed by MongoDB), you might want to disable this to save the try-and-fall-back cost. </ description > </ property > < property > < name >hive.metastore.direct.sql.batch.size</ name > < value >0</ value > < description > Batch size for partition and other object retrieval from the underlying DB in direct SQL. For some DBs like Oracle and MSSQL, there are hardcoded or perf-based limitations that necessitate this. For DBs that can handle the queries, this isn't necessary and may impede performance. -1 means no batching, 0 means automatic batching. </ description > </ property > < property > < name >hive.metastore.try.direct.sql.ddl</ name > < value >true</ value > < description > Same as hive.metastore.try.direct.sql, for read statements within a transaction that modifies metastore data. Due to non-standard behavior in Postgres, if a direct SQL select query has incorrect syntax or something similar inside a transaction, the entire transaction will fail and fall-back to DataNucleus will not be possible. You should disable the usage of direct SQL inside transactions if that happens in your case. </ description > </ property > < property > < name >hive.direct.sql.max.query.length</ name > < value >100</ value > < description > The maximum size of a query string (in KB). </ description > </ property > < property > < name >hive.direct.sql.max.elements.in.clause</ name > < value >1000</ value > < description > The maximum number of values in a IN clause. Once exceeded, it will be broken into multiple OR separated IN clauses. </ description > </ property > < property > < name >hive.direct.sql.max.elements.values.clause</ name > < value >1000</ value > < description >The maximum number of values in a VALUES clause for INSERT statement.</ description > </ property > < property > < name >hive.metastore.orm.retrieveMapNullsAsEmptyStrings</ name > < value >false</ value > < description >Thrift does not support nulls in maps, so any nulls present in maps retrieved from ORM must either be pruned or converted to empty strings. Some backing dbs such as Oracle persist empty strings as nulls, so we should set this parameter if we wish to reverse that behaviour. For others, pruning is the correct behaviour</ description > </ property > < property > < name >hive.metastore.disallow.incompatible.col.type.changes</ name > < value >true</ value > < description > If true (default is false), ALTER TABLE operations which change the type of a column (say STRING) to an incompatible type (say MAP) are disallowed. RCFile default SerDe (ColumnarSerDe) serializes the values in such a way that the datatypes can be converted from string to any type. The map is also serialized as a string, which can be read as a string as well. However, with any binary serialization, this is not true. Blocking the ALTER TABLE prevents ClassCastExceptions when subsequently trying to access old partitions. Primitive types like INT, STRING, BIGINT, etc., are compatible with each other and are not blocked. See HIVE-4409 for more details. </ description > </ property > < property > < name >hive.table.parameters.default</ name > < value /> < description >Default property values for newly created tables</ description > </ property > < property > < name >hive.ddl.createtablelike.properties.whitelist</ name > < value /> < description >Table Properties to copy over when executing a Create Table Like.</ description > </ property > < property > < name >hive.metastore.rawstore.impl</ name > < value >org.apache.hadoop.hive.metastore.ObjectStore</ value > < description > Name of the class that implements org.apache.hadoop.hive.metastore.rawstore interface. This class is used to store and retrieval of raw metadata objects such as table, database </ description > </ property > < property > < name >hive.metastore.txn.store.impl</ name > < value >org.apache.hadoop.hive.metastore.txn.CompactionTxnHandler</ value > < description >Name of class that implements org.apache.hadoop.hive.metastore.txn.TxnStore. This class is used to store and retrieve transactions and locks</ description > </ property > < property > < name >javax.jdo.PersistenceManagerFactoryClass</ name > < value >org.datanucleus.api.jdo.JDOPersistenceManagerFactory</ value > < description >class implementing the jdo persistence</ description > </ property > < property > < name >hive.metastore.expression.proxy</ name > < value >org.apache.hadoop.hive.ql.optimizer.ppr.PartitionExpressionForMetastore</ value > < description /> </ property > < property > < name >javax.jdo.option.DetachAllOnCommit</ name > < value >true</ value > < description >Detaches all objects from session so that they can be used after transaction is committed</ description > </ property > < property > < name >javax.jdo.option.NonTransactionalRead</ name > < value >true</ value > < description >Reads outside of transactions</ description > </ property > < property > < name >hive.metastore.end.function.listeners</ name > < value /> < description >List of comma separated listeners for the end of metastore functions.</ description > </ property > < property > < name >hive.metastore.partition.inherit.table.properties</ name > < value /> < description > List of comma separated keys occurring in table properties which will get inherited to newly created partitions. * implies all the keys will get inherited. </ description > </ property > < property > < name >hive.metastore.filter.hook</ name > < value >org.apache.hadoop.hive.metastore.DefaultMetaStoreFilterHookImpl</ value > < description >Metastore hook class for filtering the metadata read results. If hive.security.authorization.manageris set to instance of HiveAuthorizerFactory, then this value is ignored.</ description > </ property > < property > < name >hive.metastore.dml.events</ name > < value >false</ value > < description >If true, the metastore will be asked to fire events for DML operations</ description > </ property > < property > < name >hive.metastore.client.drop.partitions.using.expressions</ name > < value >true</ value > < description >Choose whether dropping partitions with HCatClient pushes the partition-predicate to the metastore, or drops partitions iteratively</ description > </ property > < property > < name >hive.metastore.aggregate.stats.cache.enabled</ name > < value >true</ value > < description >Whether aggregate stats caching is enabled or not.</ description > </ property > < property > < name >hive.metastore.aggregate.stats.cache.size</ name > < value >10000</ value > < description >Maximum number of aggregate stats nodes that we will place in the metastore aggregate stats cache.</ description > </ property > < property > < name >hive.metastore.aggregate.stats.cache.max.partitions</ name > < value >10000</ value > < description >Maximum number of partitions that are aggregated per cache node.</ description > </ property > < property > < name >hive.metastore.aggregate.stats.cache.fpp</ name > < value >0.01</ value > < description >Maximum false positive probability for the Bloom Filter used in each aggregate stats cache node (default 1%).</ description > </ property > < property > < name >hive.metastore.aggregate.stats.cache.max.variance</ name > < value >0.01</ value > < description >Maximum tolerable variance in number of partitions between a cached node and our request (default 1%).</ description > </ property > < property > < name >hive.metastore.aggregate.stats.cache.ttl</ name > < value >600s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Number of seconds for a cached node to be active in the cache before they become stale. </ description > </ property > < property > < name >hive.metastore.aggregate.stats.cache.max.writer.wait</ name > < value >5000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Number of milliseconds a writer will wait to acquire the writelock before giving up. </ description > </ property > < property > < name >hive.metastore.aggregate.stats.cache.max.reader.wait</ name > < value >1000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Number of milliseconds a reader will wait to acquire the readlock before giving up. </ description > </ property > < property > < name >hive.metastore.aggregate.stats.cache.max.full</ name > < value >0.9</ value > < description >Maximum cache full % after which the cache cleaner thread kicks in.</ description > </ property > < property > < name >hive.metastore.aggregate.stats.cache.clean.until</ name > < value >0.8</ value > < description >The cleaner thread cleans until cache reaches this % full size.</ description > </ property > < property > < name >hive.metastore.metrics.enabled</ name > < value >false</ value > < description >Enable metrics on the metastore.</ description > </ property > < property > < name >hive.metastore.initial.metadata.count.enabled</ name > < value >true</ value > < description >Enable a metadata count at metastore startup for metrics.</ description > </ property > < property > < name >hive.metadata.export.location</ name > < value /> < description > When used in conjunction with the org.apache.hadoop.hive.ql.parse.MetaDataExportListener pre event listener, it is the location to which the metadata will be exported. The default is an empty string, which results in the metadata being exported to the current user's home directory on HDFS. </ description > </ property > < property > < name >hive.metadata.move.exported.metadata.to.trash</ name > < value >true</ value > < description > When used in conjunction with the org.apache.hadoop.hive.ql.parse.MetaDataExportListener pre event listener, this setting determines if the metadata that is exported will subsequently be moved to the user's trash directory alongside the dropped table data. This ensures that the metadata will be cleaned up along with the dropped table data. </ description > </ property > < property > < name >hive.cli.errors.ignore</ name > < value >false</ value > < description /> </ property > < property > < name >hive.cli.print.current.db</ name > < value >false</ value > < description >Whether to include the current database in the Hive prompt.</ description > </ property > < property > < name >hive.cli.prompt</ name > < value >hive</ value > < description > Command line prompt configuration value. Other hiveconf can be used in this configuration value. Variable substitution will only be invoked at the Hive CLI startup. </ description > </ property > < property > < name >hive.cli.pretty.output.num.cols</ name > < value >-1</ value > < description > The number of columns to use when formatting output generated by the DESCRIBE PRETTY table_name command. If the value of this property is -1, then Hive will use the auto-detected terminal width. </ description > </ property > < property > < name >hive.metastore.fs.handler.class</ name > < value >org.apache.hadoop.hive.metastore.HiveMetaStoreFsImpl</ value > < description /> </ property > < property > < name >hive.session.id</ name > < value /> < description /> </ property > < property > < name >hive.session.silent</ name > < value >false</ value > < description /> </ property > < property > < name >hive.session.history.enabled</ name > < value >false</ value > < description >Whether to log Hive query, query plan, runtime statistics etc.</ description > </ property > < property > < name >hive.query.string</ name > < value /> < description >Query being executed (might be multiple per a session)</ description > </ property > < property > < name >hive.query.id</ name > < value /> < description >ID for query being executed (might be multiple per a session)</ description > </ property > < property > < name >hive.jobname.length</ name > < value >50</ value > < description >max jobname length</ description > </ property > < property > < name >hive.jar.path</ name > < value /> < description >The location of hive_cli.jar that is used when submitting jobs in a separate jvm.</ description > </ property > < property > < name >hive.aux.jars.path</ name > < value /> < description >The location of the plugin jars that contain implementations of user defined functions and serdes.</ description > </ property > < property > < name >hive.reloadable.aux.jars.path</ name > < value /> < description >Jars can be renewed by executing reload command. And these jars can be used as the auxiliary classes like creating a UDF or SerDe.</ description > </ property > < property > < name >hive.added.files.path</ name > < value /> < description >This an internal parameter.</ description > </ property > < property > < name >hive.added.jars.path</ name > < value /> < description >This an internal parameter.</ description > </ property > < property > < name >hive.added.archives.path</ name > < value /> < description >This an internal parameter.</ description > </ property > < property > < name >hive.auto.progress.timeout</ name > < value >0s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. How long to run autoprogressor for the script/UDTF operators. Set to 0 for forever. </ description > </ property > < property > < name >hive.script.auto.progress</ name > < value >false</ value > < description > Whether Hive Transform/Map/Reduce Clause should automatically send progress information to TaskTracker to avoid the task getting killed because of inactivity. Hive sends progress information when the script is outputting to stderr. This option removes the need of periodically producing stderr messages, but users should be cautious because this may prevent infinite loops in the scripts to be killed by TaskTracker. </ description > </ property > < property > < name >hive.script.operator.id.env.var</ name > < value >HIVE_SCRIPT_OPERATOR_ID</ value > < description > Name of the environment variable that holds the unique script operator ID in the user's transform function (the custom mapper/reducer that the user has specified in the query) </ description > </ property > < property > < name >hive.script.operator.truncate.env</ name > < value >false</ value > < description >Truncate each environment variable for external script in scripts operator to 20KB (to fit system limits)</ description > </ property > < property > < name >hive.script.operator.env.blacklist</ name > < value >hive.txn.valid.txns,hive.script.operator.env.blacklist</ value > < description >Comma separated list of keys from the configuration file not to convert to environment variables when envoking the script operator</ description > </ property > < property > < name >hive.strict.checks.large.query</ name > < value >false</ value > < description > Enabling strict large query checks disallows the following: Orderby without limit. No partition being picked up for a query against partitioned table. Note that these checks currently do not consider data size, only the query pattern. </ description > </ property > < property > < name >hive.strict.checks.type.safety</ name > < value >true</ value > < description > Enabling strict type safety checks disallows the following: Comparing bigints and strings. Comparing bigints and doubles. </ description > </ property > < property > < name >hive.strict.checks.cartesian.product</ name > < value >true</ value > < description > Enabling strict large query checks disallows the following: Cartesian product (cross join). </ description > </ property > < property > < name >hive.mapred.mode</ name > < value >nonstrict</ value > < description >Deprecated; use hive.strict.checks.* settings instead.</ description > </ property > < property > < name >hive.alias</ name > < value /> < description /> </ property > < property > < name >hive.map.aggr</ name > < value >true</ value > < description >Whether to use map-side aggregation in Hive Group By queries</ description > </ property > < property > < name >hive.groupby.skewindata</ name > < value >false</ value > < description >Whether there is skew in data to optimize group by queries</ description > </ property > < property > < name >hive.join.emit.interval</ name > < value >1000</ value > < description >How many rows in the right-most join operand Hive should buffer before emitting the join result.</ description > </ property > < property > < name >hive.join.cache.size</ name > < value >25000</ value > < description >How many rows in the joining tables (except the streaming table) should be cached in memory.</ description > </ property > < property > < name >hive.cbo.enable</ name > < value >true</ value > < description >Flag to control enabling Cost Based Optimizations using Calcite framework.</ description > </ property > < property > < name >hive.cbo.cnf.maxnodes</ name > < value >-1</ value > < description >When converting to conjunctive normal form (CNF), fail ifthe expression exceeds this threshold; the threshold is expressed in terms of number of nodes (leaves andinterior nodes). -1 to not set up a threshold.</ description > </ property > < property > < name >hive.cbo.returnpath.hiveop</ name > < value >false</ value > < description >Flag to control calcite plan to hive operator conversion</ description > </ property > < property > < name >hive.cbo.costmodel.extended</ name > < value >false</ value > < description >Flag to control enabling the extended cost model based onCPU, IO and cardinality. Otherwise, the cost model is based on cardinality.</ description > </ property > < property > < name >hive.cbo.costmodel.cpu</ name > < value >0.000001</ value > < description >Default cost of a comparison</ description > </ property > < property > < name >hive.cbo.costmodel.network</ name > < value >150.0</ value > < description >Default cost of a transfering a byte over network; expressed as multiple of CPU cost</ description > </ property > < property > < name >hive.cbo.costmodel.local.fs.write</ name > < value >4.0</ value > < description >Default cost of writing a byte to local FS; expressed as multiple of NETWORK cost</ description > </ property > < property > < name >hive.cbo.costmodel.local.fs.read</ name > < value >4.0</ value > < description >Default cost of reading a byte from local FS; expressed as multiple of NETWORK cost</ description > </ property > < property > < name >hive.cbo.costmodel.hdfs.write</ name > < value >10.0</ value > < description >Default cost of writing a byte to HDFS; expressed as multiple of Local FS write cost</ description > </ property > < property > < name >hive.cbo.costmodel.hdfs.read</ name > < value >1.5</ value > < description >Default cost of reading a byte from HDFS; expressed as multiple of Local FS read cost</ description > </ property > < property > < name >hive.transpose.aggr.join</ name > < value >false</ value > < description >push aggregates through join</ description > </ property > < property > < name >hive.order.columnalignment</ name > < value >true</ value > < description >Flag to control whether we want to try to aligncolumns in operators such as Aggregate or Join so that we try to reduce the number of shuffling stages</ description > </ property > < property > < name >hive.mapjoin.bucket.cache.size</ name > < value >100</ value > < description /> </ property > < property > < name >hive.mapjoin.optimized.hashtable</ name > < value >true</ value > < description > Whether Hive should use memory-optimized hash table for MapJoin. Only works on Tez and Spark, because memory-optimized hashtable cannot be serialized. </ description > </ property > < property > < name >hive.mapjoin.optimized.hashtable.probe.percent</ name > < value >0.5</ value > < description >Probing space percentage of the optimized hashtable</ description > </ property > < property > < name >hive.mapjoin.hybridgrace.hashtable</ name > < value >true</ value > < description >Whether to use hybridgrace hash join as the join method for mapjoin. Tez only.</ description > </ property > < property > < name >hive.mapjoin.hybridgrace.memcheckfrequency</ name > < value >1024</ value > < description >For hybrid grace hash join, how often (how many rows apart) we check if memory is full. This number should be power of 2.</ description > </ property > < property > < name >hive.mapjoin.hybridgrace.minwbsize</ name > < value >524288</ value > < description >For hybrid graceHash join, the minimum write buffer size used by optimized hashtable. Default is 512 KB.</ description > </ property > < property > < name >hive.mapjoin.hybridgrace.minnumpartitions</ name > < value >16</ value > < description >ForHybrid grace hash join, the minimum number of partitions to create.</ description > </ property > < property > < name >hive.mapjoin.optimized.hashtable.wbsize</ name > < value >8388608</ value > < description > Optimized hashtable (see hive.mapjoin.optimized.hashtable) uses a chain of buffers to store data. This is one buffer size. HT may be slightly faster if this is larger, but for small joins unnecessary memory will be allocated and then trimmed. </ description > </ property > < property > < name >hive.mapjoin.hybridgrace.bloomfilter</ name > < value >true</ value > < description >Whether to use BloomFilter in Hybrid grace hash join to minimize unnecessary spilling.</ description > </ property > < property > < name >hive.smbjoin.cache.rows</ name > < value >10000</ value > < description >How many rows with the same key value should be cached in memory per smb joined table.</ description > </ property > < property > < name >hive.groupby.mapaggr.checkinterval</ name > < value >100000</ value > < description >Number of rows after which size of the grouping keys/aggregation classes is performed</ description > </ property > < property > < name >hive.map.aggr.hash.percentmemory</ name > < value >0.5</ value > < description >Portion of total memory to be used by map-side group aggregation hash table</ description > </ property > < property > < name >hive.mapjoin.followby.map.aggr.hash.percentmemory</ name > < value >0.3</ value > < description >Portion of total memory to be used by map-side group aggregation hash table, when this group by is followed by map join</ description > </ property > < property > < name >hive.map.aggr.hash.force.flush.memory.threshold</ name > < value >0.9</ value > < description > The max memory to be used by map-side group aggregation hash table. If the memory usage is higher than this number, force to flush data </ description > </ property > < property > < name >hive.map.aggr.hash.min.reduction</ name > < value >0.5</ value > < description > Hash aggregation will be turned off if the ratio between hash table size and input rows is bigger than this number. Set to 1 to make sure hash aggregation is never turned off. </ description > </ property > < property > < name >hive.multigroupby.singlereducer</ name > < value >true</ value > < description > Whether to optimize multi group by query to generate single M/R job plan. If the multi group by query has common group by keys, it will be optimized to generate single M/R job. </ description > </ property > < property > < name >hive.map.groupby.sorted</ name > < value >true</ value > < description > If the bucketing/sorting properties of the table exactly match the grouping key, whether to perform the group by in the mapper by using BucketizedHiveInputFormat. The only downside to this is that it limits the number of mappers to the number of files. </ description > </ property > < property > < name >hive.groupby.orderby.position.alias</ name > < value >false</ value > < description >Whether to enable using Column Position Alias in Group By or Order By</ description > </ property > < property > < name >hive.new.job.grouping.set.cardinality</ name > < value >30</ value > < description > Whether a new map-reduce job should be launched for grouping sets/rollups/cubes. For a query like: select a, b, c, count(1) from T group by a, b, c with rollup; 4 rows are created per row: (a, b, c), (a, b, null), (a, null, null), (null, null, null). This can lead to explosion across map-reduce boundary if the cardinality of T is very high, and map-side aggregation does not do a very good job. This parameter decides if Hive should add an additional map-reduce job. If the grouping set cardinality (4 in the example above), is more than this value, a new MR job is added under the assumption that the original group by will reduce the data size. </ description > </ property > < property > < name >hive.groupby.limit.extrastep</ name > < value >true</ value > < description > This parameter decides if Hive should create new MR job for sorting final output </ description > </ property > < property > < name >hive.exec.copyfile.maxsize</ name > < value >33554432</ value > < description >Maximum file size (in Mb) that Hive uses to do single HDFS copies between directories.Distributed copies (distcp) will be used instead for bigger files so that copies can be done faster.</ description > </ property > < property > < name >hive.udtf.auto.progress</ name > < value >false</ value > < description > Whether Hive should automatically send progress information to TaskTracker when using UDTF's to prevent the task getting killed because of inactivity. Users should be cautious because this may prevent TaskTracker from killing tasks with infinite loops. </ description > </ property > < property > < name >hive.default.fileformat</ name > < value >TextFile</ value > < description > Expects one of [textfile, sequencefile, rcfile, orc]. Default file format for CREATE TABLE statement. Users can explicitly override it by CREATE TABLE ... STORED AS [FORMAT] </ description > </ property > < property > < name >hive.default.fileformat.managed</ name > < value >none</ value > < description > Expects one of [none, textfile, sequencefile, rcfile, orc]. Default file format for CREATE TABLE statement applied to managed tables only. External tables will be created with format specified by hive.default.fileformat. Leaving this null will result in using hive.default.fileformat for all tables. </ description > </ property > < property > < name >hive.query.result.fileformat</ name > < value >SequenceFile</ value > < description > Expects one of [textfile, sequencefile, rcfile, llap]. Default file format for storing result of the query. </ description > </ property > < property > < name >hive.fileformat.check</ name > < value >true</ value > < description >Whether to check file format or not when loading data files</ description > </ property > < property > < name >hive.default.rcfile.serde</ name > < value >org.apache.hadoop.hive.serde2.columnar.LazyBinaryColumnarSerDe</ value > < description >The default SerDe Hive will use for the RCFile format</ description > </ property > < property > < name >hive.default.serde</ name > < value >org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</ value > < description >The default SerDe Hive will use for storage formats that do not specify a SerDe.</ description > </ property > < property > < name >hive.serdes.using.metastore.for.schema</ name > < value >org.apache.hadoop.hive.ql.io.orc.OrcSerde,org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe,org.apache.hadoop.hive.serde2.columnar.ColumnarSerDe,org.apache.hadoop.hive.serde2.dynamic_type.DynamicSerDe,org.apache.hadoop.hive.serde2.MetadataTypedColumnsetSerDe,org.apache.hadoop.hive.serde2.columnar.LazyBinaryColumnarSerDe,org.apache.hadoop.hive.ql.io.parquet.serde.ParquetHiveSerDe,org.apache.hadoop.hive.serde2.lazybinary.LazyBinarySerDe</ value > < description >SerDes retrieving schema from metastore. This is an internal parameter.</ description > </ property > < property > < name >hive.querylog.location</ name > < value >/home/centos/hive/centos</ value > < description >Location of Hive run time structured log file</ description > </ property > < property > < name >hive.querylog.enable.plan.progress</ name > < value >true</ value > < description > Whether to log the plan's progress every time a job's progress is checked. These logs are written to the location specified by hive.querylog.location </ description > </ property > < property > < name >hive.querylog.plan.progress.interval</ name > < value >60000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. The interval to wait between logging the plan's progress. If there is a whole number percentage change in the progress of the mappers or the reducers, the progress is logged regardless of this value. The actual interval will be the ceiling of (this value divided by the value of hive.exec.counters.pull.interval) multiplied by the value of hive.exec.counters.pull.interval I.e. if it is not divide evenly by the value of hive.exec.counters.pull.interval it will be logged less frequently than specified. This only has an effect if hive.querylog.enable.plan.progress is set to true. </ description > </ property > < property > < name >hive.script.serde</ name > < value >org.apache.hadoop.hive.serde2.lazy.LazySimpleSerDe</ value > < description >The default SerDe for transmitting input data to and reading output data from the user scripts. </ description > </ property > < property > < name >hive.script.recordreader</ name > < value >org.apache.hadoop.hive.ql.exec.TextRecordReader</ value > < description >The default record reader for reading data from the user scripts. </ description > </ property > < property > < name >hive.script.recordwriter</ name > < value >org.apache.hadoop.hive.ql.exec.TextRecordWriter</ value > < description >The default record writer for writing data to the user scripts. </ description > </ property > < property > < name >hive.transform.escape.input</ name > < value >false</ value > < description > This adds an option to escape special chars (newlines, carriage returns and tabs) when they are passed to the user script. This is useful if the Hive tables can contain data that contains special characters. </ description > </ property > < property > < name >hive.binary.record.max.length</ name > < value >1000</ value > < description > Read from a binary stream and treat each hive.binary.record.max.length bytes as a record. The last record before the end of stream can have less than hive.binary.record.max.length bytes </ description > </ property > < property > < name >hive.hwi.listen.host</ name > < value >0.0.0.0</ value > < description >This is the host address the Hive Web Interface will listen on</ description > </ property > < property > < name >hive.hwi.listen.port</ name > < value >9999</ value > < description >This is the port the Hive Web Interface will listen on</ description > </ property > < property > < name >hive.hwi.war.file</ name > < value >${env:HWI_WAR_FILE}</ value > < description >This sets the path to the HWI war file, relative to ${HIVE_HOME}. </ description > </ property > < property > < name >hive.mapred.local.mem</ name > < value >0</ value > < description >mapper/reducer memory in local mode</ description > </ property > < property > < name >hive.mapjoin.smalltable.filesize</ name > < value >25000000</ value > < description > The threshold for the input file size of the small tables; if the file size is smaller than this threshold, it will try to convert the common join into map join </ description > </ property > < property > < name >hive.exec.schema.evolution</ name > < value >true</ value > < description >Use schema evolution to convert self-describing file format's data to the schema desired by the reader.</ description > </ property > < property > < name >hive.sample.seednumber</ name > < value >0</ value > < description >A number used to percentage sampling. By changing this number, user will change the subsets of data sampled.</ description > </ property > < property > < name >hive.test.mode</ name > < value >false</ value > < description >Whether Hive is running in test mode. If yes, it turns on sampling and prefixes the output tablename.</ description > </ property > < property > < name >hive.test.mode.prefix</ name > < value >test_</ value > < description >In test mode, specfies prefixes for the output table</ description > </ property > < property > < name >hive.test.mode.samplefreq</ name > < value >32</ value > < description > In test mode, specfies sampling frequency for table, which is not bucketed, For example, the following query: INSERT OVERWRITE TABLE dest SELECT col1 from src would be converted to INSERT OVERWRITE TABLE test_dest SELECT col1 from src TABLESAMPLE (BUCKET 1 out of 32 on rand(1)) </ description > </ property > < property > < name >hive.test.mode.nosamplelist</ name > < value /> < description >In test mode, specifies comma separated table names which would not apply sampling</ description > </ property > < property > < name >hive.test.dummystats.aggregator</ name > < value /> < description >internal variable for test</ description > </ property > < property > < name >hive.test.dummystats.publisher</ name > < value /> < description >internal variable for test</ description > </ property > < property > < name >hive.test.currenttimestamp</ name > < value /> < description >current timestamp for test</ description > </ property > < property > < name >hive.test.rollbacktxn</ name > < value >false</ value > < description >For testing only. Will mark every ACID transaction aborted</ description > </ property > < property > < name >hive.test.fail.compaction</ name > < value >false</ value > < description >For testing only. Will cause CompactorMR to fail.</ description > </ property > < property > < name >hive.test.fail.heartbeater</ name > < value >false</ value > < description >For testing only. Will cause Heartbeater to fail.</ description > </ property > < property > < name >hive.merge.mapfiles</ name > < value >true</ value > < description >Merge small files at the end of a map-only job</ description > </ property > < property > < name >hive.merge.mapredfiles</ name > < value >false</ value > < description >Merge small files at the end of a map-reduce job</ description > </ property > < property > < name >hive.merge.tezfiles</ name > < value >false</ value > < description >Merge small files at the end of a Tez DAG</ description > </ property > < property > < name >hive.merge.sparkfiles</ name > < value >false</ value > < description >Merge small files at the end of a Spark DAG Transformation</ description > </ property > < property > < name >hive.merge.size.per.task</ name > < value >256000000</ value > < description >Size of merged files at the end of the job</ description > </ property > < property > < name >hive.merge.smallfiles.avgsize</ name > < value >16000000</ value > < description > When the average output file size of a job is less than this number, Hive will start an additional map-reduce job to merge the output files into bigger files. This is only done for map-only jobs if hive.merge.mapfiles is true, and for map-reduce jobs if hive.merge.mapredfiles is true. </ description > </ property > < property > < name >hive.merge.rcfile.block.level</ name > < value >true</ value > < description /> </ property > < property > < name >hive.merge.orcfile.stripe.level</ name > < value >true</ value > < description > When hive.merge.mapfiles, hive.merge.mapredfiles or hive.merge.tezfiles is enabled while writing a table with ORC file format, enabling this config will do stripe-level fast merge for small ORC files. Note that enabling this config will not honor the padding tolerance config (hive.exec.orc.block.padding.tolerance). </ description > </ property > < property > < name >hive.exec.rcfile.use.explicit.header</ name > < value >true</ value > < description > If this is set the header for RCFiles will simply be RCF. If this is not set the header will be that borrowed from sequence files, e.g. SEQ- followed by the input and output RCFile formats. </ description > </ property > < property > < name >hive.exec.rcfile.use.sync.cache</ name > < value >true</ value > < description /> </ property > < property > < name >hive.io.rcfile.record.interval</ name > < value >2147483647</ value > < description /> </ property > < property > < name >hive.io.rcfile.column.number.conf</ name > < value >0</ value > < description /> </ property > < property > < name >hive.io.rcfile.tolerate.corruptions</ name > < value >false</ value > < description /> </ property > < property > < name >hive.io.rcfile.record.buffer.size</ name > < value >4194304</ value > < description /> </ property > < property > < name >parquet.memory.pool.ratio</ name > < value >0.5</ value > < description > Maximum fraction of heap that can be used by Parquet file writers in one task. It is for avoiding OutOfMemory error in tasks. Work with Parquet 1.6.0 and above. This config parameter is defined in Parquet, so that it does not start with 'hive.'. </ description > </ property > < property > < name >hive.parquet.timestamp.skip.conversion</ name > < value >true</ value > < description >Current Hive implementation of parquet stores timestamps to UTC, this flag allows skipping of the conversionon reading parquet files from other tools</ description > </ property > < property > < name >hive.int.timestamp.conversion.in.seconds</ name > < value >false</ value > < description > Boolean/tinyint/smallint/int/bigint value is interpreted as milliseconds during the timestamp conversion. Set this flag to true to interpret the value as seconds to be consistent with float/double. </ description > </ property > < property > < name >hive.exec.orc.memory.pool</ name > < value >0.5</ value > < description >Maximum fraction of heap that can be used by ORC file writers</ description > </ property > < property > < name >hive.exec.orc.write.format</ name > < value /> < description > Define the version of the file to write. Possible values are 0.11 and 0.12. If this parameter is not defined, ORC will use the run length encoding (RLE) introduced in Hive 0.12. Any value other than 0.11 results in the 0.12 encoding. </ description > </ property > < property > < name >hive.exec.orc.default.stripe.size</ name > < value >67108864</ value > < description >Define the default ORC stripe size, in bytes.</ description > </ property > < property > < name >hive.exec.orc.default.block.size</ name > < value >268435456</ value > < description >Define the default file system block size for ORC files.</ description > </ property > < property > < name >hive.exec.orc.dictionary.key.size.threshold</ name > < value >0.8</ value > < description > If the number of keys in a dictionary is greater than this fraction of the total number of non-null rows, turn off dictionary encoding. Use 1 to always use dictionary encoding. </ description > </ property > < property > < name >hive.exec.orc.default.row.index.stride</ name > < value >10000</ value > < description > Define the default ORC index stride in number of rows. (Stride is the number of rows an index entry represents.) </ description > </ property > < property > < name >hive.orc.row.index.stride.dictionary.check</ name > < value >true</ value > < description > If enabled dictionary check will happen after first row index stride (default 10000 rows) else dictionary check will happen before writing first stripe. In both cases, the decision to use dictionary or not will be retained thereafter. </ description > </ property > < property > < name >hive.exec.orc.default.buffer.size</ name > < value >262144</ value > < description >Define the default ORC buffer size, in bytes.</ description > </ property > < property > < name >hive.exec.orc.base.delta.ratio</ name > < value >8</ value > < description > The ratio of base writer and delta writer in terms of STRIPE_SIZE and BUFFER_SIZE. </ description > </ property > < property > < name >hive.exec.orc.default.block.padding</ name > < value >true</ value > < description >Define the default block padding, which pads stripes to the HDFS block boundaries.</ description > </ property > < property > < name >hive.exec.orc.block.padding.tolerance</ name > < value >0.05</ value > < description > Define the tolerance for block padding as a decimal fraction of stripe size (for example, the default value 0.05 is 5% of the stripe size). For the defaults of 64Mb ORC stripe and 256Mb HDFS blocks, the default block padding tolerance of 5% will reserve a maximum of 3.2Mb for padding within the 256Mb block. In that case, if the available size within the block is more than 3.2Mb, a new smaller stripe will be inserted to fit within that space. This will make sure that no stripe written will cross block boundaries and cause remote reads within a node local task. </ description > </ property > < property > < name >hive.exec.orc.default.compress</ name > < value >ZLIB</ value > < description >Define the default compression codec for ORC file</ description > </ property > < property > < name >hive.exec.orc.encoding.strategy</ name > < value >SPEED</ value > < description > Expects one of [speed, compression]. Define the encoding strategy to use while writing data. Changing this will only affect the light weight encoding for integers. This flag will not change the compression level of higher level compression codec (like ZLIB). </ description > </ property > < property > < name >hive.exec.orc.compression.strategy</ name > < value >SPEED</ value > < description > Expects one of [speed, compression]. Define the compression strategy to use while writing data. This changes the compression level of higher level compression codec (like ZLIB). </ description > </ property > < property > < name >hive.exec.orc.split.strategy</ name > < value >HYBRID</ value > < description > Expects one of [hybrid, bi, etl]. This is not a user level config. BI strategy is used when the requirement is to spend less time in split generation as opposed to query execution (split generation does not read or cache file footers). ETL strategy is used when spending little more time in split generation is acceptable (split generation reads and caches file footers). HYBRID chooses between the above strategies based on heuristics. </ description > </ property > < property > < name >hive.orc.splits.ms.footer.cache.enabled</ name > < value >false</ value > < description >Whether to enable using file metadata cache in metastore for ORC file footers.</ description > </ property > < property > < name >hive.orc.splits.ms.footer.cache.ppd.enabled</ name > < value >true</ value > < description > Whether to enable file footer cache PPD (hive.orc.splits.ms.footer.cache.enabled must also be set to true for this to work). </ description > </ property > < property > < name >hive.orc.splits.include.file.footer</ name > < value >false</ value > < description > If turned on splits generated by orc will include metadata about the stripes in the file. This data is read remotely (from the client or HS2 machine) and sent to all the tasks. </ description > </ property > < property > < name >hive.orc.splits.directory.batch.ms</ name > < value >0</ value > < description > How long, in ms, to wait to batch input directories for processing during ORC split generation. 0 means process directories individually. This can increase the number of metastore calls if metastore metadata cache is used. </ description > </ property > < property > < name >hive.orc.splits.include.fileid</ name > < value >true</ value > < description >Include file ID in splits on file systems that support it.</ description > </ property > < property > < name >hive.orc.splits.allow.synthetic.fileid</ name > < value >true</ value > < description >Allow synthetic file ID in splits on file systems that don't have a native one.</ description > </ property > < property > < name >hive.orc.cache.stripe.details.size</ name > < value >10000</ value > < description >Max cache size for keeping meta info about orc splits cached in the client.</ description > </ property > < property > < name >hive.orc.compute.splits.num.threads</ name > < value >10</ value > < description >How many threads orc should use to create splits in parallel.</ description > </ property > < property > < name >hive.orc.cache.use.soft.references</ name > < value >false</ value > < description > By default, the cache that ORC input format uses to store orc file footer use hard references for the cached object. Setting this to true can help avoid out of memory issues under memory pressure (in some cases) at the cost of slight unpredictability in overall query performance. </ description > </ property > < property > < name >hive.exec.orc.skip.corrupt.data</ name > < value >false</ value > < description > If ORC reader encounters corrupt data, this value will be used to determine whether to skip the corrupt data or throw exception. The default behavior is to throw exception. </ description > </ property > < property > < name >hive.exec.orc.zerocopy</ name > < value >false</ value > < description >Use zerocopy reads with ORC. (This requires Hadoop 2.3 or later.)</ description > </ property > < property > < name >hive.lazysimple.extended_boolean_literal</ name > < value >false</ value > < description > LazySimpleSerde uses this property to determine if it treats 'T', 't', 'F', 'f', '1', and '0' as extened, legal boolean literal, in addition to 'TRUE' and 'FALSE'. The default is false, which means only 'TRUE' and 'FALSE' are treated as legal boolean literal. </ description > </ property > < property > < name >hive.optimize.skewjoin</ name > < value >false</ value > < description > Whether to enable skew join optimization. The algorithm is as follows: At runtime, detect the keys with a large skew. Instead of processing those keys, store them temporarily in an HDFS directory. In a follow-up map-reduce job, process those skewed keys. The same key need not be skewed for all the tables, and so, the follow-up map-reduce job (for the skewed keys) would be much faster, since it would be a map-join. </ description > </ property > < property > < name >hive.optimize.dynamic.partition.hashjoin</ name > < value >false</ value > < description > Whether to enable dynamically partitioned hash join optimization. This setting is also dependent on enabling hive.auto.convert.join </ description > </ property > < property > < name >hive.auto.convert.join</ name > < value >true</ value > < description >Whether Hive enables the optimization about converting common join into mapjoin based on the input file size</ description > </ property > < property > < name >hive.auto.convert.join.noconditionaltask</ name > < value >true</ value > < description > Whether Hive enables the optimization about converting common join into mapjoin based on the input file size. If this parameter is on, and the sum of size for n-1 of the tables/partitions for a n-way join is smaller than the specified size, the join is directly converted to a mapjoin (there is no conditional task). </ description > </ property > < property > < name >hive.auto.convert.join.noconditionaltask.size</ name > < value >10000000</ value > < description > If hive.auto.convert.join.noconditionaltask is off, this parameter does not take affect. However, if it is on, and the sum of size for n-1 of the tables/partitions for a n-way join is smaller than this size, the join is directly converted to a mapjoin(there is no conditional task). The default is 10MB </ description > </ property > < property > < name >hive.auto.convert.join.use.nonstaged</ name > < value >false</ value > < description > For conditional joins, if input stream from a small alias can be directly applied to join operator without filtering or projection, the alias need not to be pre-staged in distributed cache via mapred local task. Currently, this is not working with vectorization or tez execution engine. </ description > </ property > < property > < name >hive.skewjoin.key</ name > < value >100000</ value > < description > Determine if we get a skew key in join. If we see more than the specified number of rows with the same key in join operator, we think the key as a skew join key. </ description > </ property > < property > < name >hive.skewjoin.mapjoin.map.tasks</ name > < value >10000</ value > < description > Determine the number of map task used in the follow up map join job for a skew join. It should be used together with hive.skewjoin.mapjoin.min.split to perform a fine grained control. </ description > </ property > < property > < name >hive.skewjoin.mapjoin.min.split</ name > < value >33554432</ value > < description > Determine the number of map task at most used in the follow up map join job for a skew join by specifying the minimum split size. It should be used together with hive.skewjoin.mapjoin.map.tasks to perform a fine grained control. </ description > </ property > < property > < name >hive.heartbeat.interval</ name > < value >1000</ value > < description >Send a heartbeat after this interval - used by mapjoin and filter operators</ description > </ property > < property > < name >hive.limit.row.max.size</ name > < value >100000</ value > < description >When trying a smaller subset of data for simple LIMIT, how much size we need to guarantee each row to have at least.</ description > </ property > < property > < name >hive.limit.optimize.limit.file</ name > < value >10</ value > < description >When trying a smaller subset of data for simple LIMIT, maximum number of files we can sample.</ description > </ property > < property > < name >hive.limit.optimize.enable</ name > < value >false</ value > < description >Whether to enable to optimization to trying a smaller subset of data for simple LIMIT first.</ description > </ property > < property > < name >hive.limit.optimize.fetch.max</ name > < value >50000</ value > < description > Maximum number of rows allowed for a smaller subset of data for simple LIMIT, if it is a fetch query. Insert queries are not restricted by this limit. </ description > </ property > < property > < name >hive.limit.pushdown.memory.usage</ name > < value >0.1</ value > < description > Expects value between 0.0f and 1.0f. The fraction of available memory to be used for buffering rows in Reducesink operator for limit pushdown optimization. </ description > </ property > < property > < name >hive.limit.query.max.table.partition</ name > < value >-1</ value > < description > This controls how many partitions can be scanned for each partitioned table. The default value "-1" means no limit. </ description > </ property > < property > < name >hive.hashtable.key.count.adjustment</ name > < value >1.0</ value > < description >Adjustment to mapjoin hashtable size derived from table and column statistics; the estimate of the number of keys is divided by this value. If the value is 0, statistics are not usedand hive.hashtable.initialCapacity is used instead.</ description > </ property > < property > < name >hive.hashtable.initialCapacity</ name > < value >100000</ value > < description >Initial capacity of mapjoin hashtable if statistics are absent, or if hive.hashtable.key.count.adjustment is set to 0</ description > </ property > < property > < name >hive.hashtable.loadfactor</ name > < value >0.75</ value > < description /> </ property > < property > < name >hive.mapjoin.followby.gby.localtask.max.memory.usage</ name > < value >0.55</ value > < description > This number means how much memory the local task can take to hold the key/value into an in-memory hash table when this map join is followed by a group by. If the local task's memory usage is more than this number, the local task will abort by itself. It means the data of the small table is too large to be held in memory. </ description > </ property > < property > < name >hive.mapjoin.localtask.max.memory.usage</ name > < value >0.9</ value > < description > This number means how much memory the local task can take to hold the key/value into an in-memory hash table. If the local task's memory usage is more than this number, the local task will abort by itself. It means the data of the small table is too large to be held in memory. </ description > </ property > < property > < name >hive.mapjoin.check.memory.rows</ name > < value >100000</ value > < description >The number means after how many rows processed it needs to check the memory usage</ description > </ property > < property > < name >hive.debug.localtask</ name > < value >false</ value > < description /> </ property > < property > < name >hive.input.format</ name > < value >org.apache.hadoop.hive.ql.io.CombineHiveInputFormat</ value > < description >The default input format. Set this to HiveInputFormat if you encounter problems with CombineHiveInputFormat.</ description > </ property > < property > < name >hive.tez.input.format</ name > < value >org.apache.hadoop.hive.ql.io.HiveInputFormat</ value > < description >The default input format for tez. Tez groups splits in the AM.</ description > </ property > < property > < name >hive.tez.container.size</ name > < value >-1</ value > < description >By default Tez will spawn containers of the size of a mapper. This can be used to overwrite.</ description > </ property > < property > < name >hive.tez.cpu.vcores</ name > < value >-1</ value > < description > By default Tez will ask for however many cpus map-reduce is configured to use per container. This can be used to overwrite. </ description > </ property > < property > < name >hive.tez.java.opts</ name > < value /> < description >By default Tez will use the Java options from map tasks. This can be used to overwrite.</ description > </ property > < property > < name >hive.tez.log.level</ name > < value >INFO</ value > < description > The log level to use for tasks executing as part of the DAG. Used only if hive.tez.java.opts is used to configure Java options. </ description > </ property > < property > < name >hive.query.name</ name > < value /> < description > This named is used by Tez to set the dag name. This name in turn will appear on the Tez UI representing the work that was done. </ description > </ property > < property > < name >hive.optimize.bucketingsorting</ name > < value >true</ value > < description > Don't create a reducer for enforcing bucketing/sorting for queries of the form: insert overwrite table T2 select * from T1; where T1 and T2 are bucketed/sorted by the same keys into the same number of buckets. </ description > </ property > < property > < name >hive.mapred.partitioner</ name > < value >org.apache.hadoop.hive.ql.io.DefaultHivePartitioner</ value > < description /> </ property > < property > < name >hive.enforce.sortmergebucketmapjoin</ name > < value >false</ value > < description >If the user asked for sort-merge bucketed map-side join, and it cannot be performed, should the query fail or not ?</ description > </ property > < property > < name >hive.enforce.bucketmapjoin</ name > < value >false</ value > < description > If the user asked for bucketed map-side join, and it cannot be performed, should the query fail or not ? For example, if the buckets in the tables being joined are not a multiple of each other, bucketed map-side join cannot be performed, and the query will fail if hive.enforce.bucketmapjoin is set to true. </ description > </ property > < property > < name >hive.auto.convert.sortmerge.join</ name > < value >false</ value > < description >Will the join be automatically converted to a sort-merge join, if the joined tables pass the criteria for sort-merge join.</ description > </ property > < property > < name >hive.auto.convert.sortmerge.join.bigtable.selection.policy</ name > < value >org.apache.hadoop.hive.ql.optimizer.AvgPartitionSizeBasedBigTableSelectorForAutoSMJ</ value > < description > The policy to choose the big table for automatic conversion to sort-merge join. By default, the table with the largest partitions is assigned the big table. All policies are: . based on position of the table - the leftmost table is selected org.apache.hadoop.hive.ql.optimizer.LeftmostBigTableSMJ. . based on total size (all the partitions selected in the query) of the table org.apache.hadoop.hive.ql.optimizer.TableSizeBasedBigTableSelectorForAutoSMJ. . based on average size (all the partitions selected in the query) of the table org.apache.hadoop.hive.ql.optimizer.AvgPartitionSizeBasedBigTableSelectorForAutoSMJ. New policies can be added in future. </ description > </ property > < property > < name >hive.auto.convert.sortmerge.join.to.mapjoin</ name > < value >false</ value > < description > If hive.auto.convert.sortmerge.join is set to true, and a join was converted to a sort-merge join, this parameter decides whether each table should be tried as a big table, and effectively a map-join should be tried. That would create a conditional task with n+1 children for a n-way join (1 child for each table as the big table), and the backup task will be the sort-merge join. In some cases, a map-join would be faster than a sort-merge join, if there is no advantage of having the output bucketed and sorted. For example, if a very big sorted and bucketed table with few files (say 10 files) are being joined with a very small sorter and bucketed table with few files (10 files), the sort-merge join will only use 10 mappers, and a simple map-only join might be faster if the complete small table can fit in memory, and a map-join can be performed. </ description > </ property > < property > < name >hive.exec.script.trust</ name > < value >false</ value > < description /> </ property > < property > < name >hive.exec.rowoffset</ name > < value >false</ value > < description >Whether to provide the row offset virtual column</ description > </ property > < property > < name >hive.optimize.index.filter</ name > < value >false</ value > < description >Whether to enable automatic use of indexes</ description > </ property > < property > < name >hive.optimize.index.autoupdate</ name > < value >false</ value > < description >Whether to update stale indexes automatically</ description > </ property > < property > < name >hive.optimize.ppd</ name > < value >true</ value > < description >Whether to enable predicate pushdown</ description > </ property > < property > < name >hive.optimize.ppd.windowing</ name > < value >true</ value > < description >Whether to enable predicate pushdown through windowing</ description > </ property > < property > < name >hive.ppd.recognizetransivity</ name > < value >true</ value > < description >Whether to transitively replicate predicate filters over equijoin conditions.</ description > </ property > < property > < name >hive.ppd.remove.duplicatefilters</ name > < value >true</ value > < description > During query optimization, filters may be pushed down in the operator tree. If this config is true only pushed down filters remain in the operator tree, and the original filter is removed. If this config is false, the original filter is also left in the operator tree at the original place. </ description > </ property > < property > < name >hive.optimize.point.lookup</ name > < value >true</ value > < description >Whether to transform OR clauses in Filter operators into IN clauses</ description > </ property > < property > < name >hive.optimize.point.lookup.min</ name > < value >31</ value > < description >Minimum number of OR clauses needed to transform into IN clauses</ description > </ property > < property > < name >hive.optimize.partition.columns.separate</ name > < value >true</ value > < description >Extract partition columns from IN clauses</ description > </ property > < property > < name >hive.optimize.constant.propagation</ name > < value >true</ value > < description >Whether to enable constant propagation optimizer</ description > </ property > < property > < name >hive.optimize.remove.identity.project</ name > < value >true</ value > < description >Removes identity project from operator tree</ description > </ property > < property > < name >hive.optimize.metadataonly</ name > < value >true</ value > < description /> </ property > < property > < name >hive.optimize.null.scan</ name > < value >true</ value > < description >Dont scan relations which are guaranteed to not generate any rows</ description > </ property > < property > < name >hive.optimize.ppd.storage</ name > < value >true</ value > < description >Whether to push predicates down to storage handlers</ description > </ property > < property > < name >hive.optimize.groupby</ name > < value >true</ value > < description >Whether to enable the bucketed group by from bucketed partitions/tables.</ description > </ property > < property > < name >hive.optimize.bucketmapjoin</ name > < value >false</ value > < description >Whether to try bucket mapjoin</ description > </ property > < property > < name >hive.optimize.bucketmapjoin.sortedmerge</ name > < value >false</ value > < description >Whether to try sorted bucket merge map join</ description > </ property > < property > < name >hive.optimize.reducededuplication</ name > < value >true</ value > < description > Remove extra map-reduce jobs if the data is already clustered by the same key which needs to be used again. This should always be set to true. Since it is a new feature, it has been made configurable. </ description > </ property > < property > < name >hive.optimize.reducededuplication.min.reducer</ name > < value >4</ value > < description > Reduce deduplication merges two RSs by moving key/parts/reducer-num of the child RS to parent RS. That means if reducer-num of the child RS is fixed (order by or forced bucketing) and small, it can make very slow, single MR. The optimization will be automatically disabled if number of reducers would be less than specified value. </ description > </ property > < property > < name >hive.optimize.sort.dynamic.partition</ name > < value >false</ value > < description > When enabled dynamic partitioning column will be globally sorted. This way we can keep only one record writer open for each partition value in the reducer thereby reducing the memory pressure on reducers. </ description > </ property > < property > < name >hive.optimize.sampling.orderby</ name > < value >false</ value > < description >Uses sampling on order-by clause for parallel execution.</ description > </ property > < property > < name >hive.optimize.sampling.orderby.number</ name > < value >1000</ value > < description >Total number of samples to be obtained.</ description > </ property > < property > < name >hive.optimize.sampling.orderby.percent</ name > < value >0.1</ value > < description > Expects value between 0.0f and 1.0f. Probability with which a row will be chosen. </ description > </ property > < property > < name >hive.optimize.distinct.rewrite</ name > < value >true</ value > < description >When applicable this optimization rewrites distinct aggregates from a single stage to multi-stage aggregation. This may not be optimal in all cases. Ideally, whether to trigger it or not should be cost based decision. Until Hive formalizes cost model for this, this is config driven.</ description > </ property > < property > < name >hive.optimize.union.remove</ name > < value >false</ value > < description > Whether to remove the union and push the operators between union and the filesink above union. This avoids an extra scan of the output by union. This is independently useful for union queries, and specially useful when hive.optimize.skewjoin.compiletime is set to true, since an extra union is inserted. The merge is triggered if either of hive.merge.mapfiles or hive.merge.mapredfiles is set to true. If the user has set hive.merge.mapfiles to true and hive.merge.mapredfiles to false, the idea was the number of reducers are few, so the number of files anyway are small. However, with this optimization, we are increasing the number of files possibly by a big margin. So, we merge aggressively. </ description > </ property > < property > < name >hive.optimize.correlation</ name > < value >false</ value > < description >exploit intra-query correlations.</ description > </ property > < property > < name >hive.optimize.limittranspose</ name > < value >false</ value > < description > Whether to push a limit through left/right outer join or union. If the value is true and the size of the outer input is reduced enough (as specified in hive.optimize.limittranspose.reduction), the limit is pushed to the outer input or union; to remain semantically correct, the limit is kept on top of the join or the union too. </ description > </ property > < property > < name >hive.optimize.limittranspose.reductionpercentage</ name > < value >1.0</ value > < description > When hive.optimize.limittranspose is true, this variable specifies the minimal reduction of the size of the outer input of the join or input of the union that we should get in order to apply the rule. </ description > </ property > < property > < name >hive.optimize.limittranspose.reductiontuples</ name > < value >0</ value > < description > When hive.optimize.limittranspose is true, this variable specifies the minimal reduction in the number of tuples of the outer input of the join or the input of the union that you should get in order to apply the rule. </ description > </ property > < property > < name >hive.optimize.filter.stats.reduction</ name > < value >false</ value > < description > Whether to simplify comparison expressions in filter operators using column stats </ description > </ property > < property > < name >hive.optimize.skewjoin.compiletime</ name > < value >false</ value > < description > Whether to create a separate plan for skewed keys for the tables in the join. This is based on the skewed keys stored in the metadata. At compile time, the plan is broken into different joins: one for the skewed keys, and the other for the remaining keys. And then, a union is performed for the 2 joins generated above. So unless the same skewed key is present in both the joined tables, the join for the skewed key will be performed as a map-side join. The main difference between this parameter and hive.optimize.skewjoin is that this parameter uses the skew information stored in the metastore to optimize the plan at compile time itself. If there is no skew information in the metadata, this parameter will not have any affect. Both hive.optimize.skewjoin.compiletime and hive.optimize.skewjoin should be set to true. Ideally, hive.optimize.skewjoin should be renamed as hive.optimize.skewjoin.runtime, but not doing so for backward compatibility. If the skew information is correctly stored in the metadata, hive.optimize.skewjoin.compiletime would change the query plan to take care of it, and hive.optimize.skewjoin will be a no-op. </ description > </ property > < property > < name >hive.optimize.cte.materialize.threshold</ name > < value >-1</ value > < description > If the number of references to a CTE clause exceeds this threshold, Hive will materialize it before executing the main query block. -1 will disable this feature. </ description > </ property > < property > < name >hive.optimize.index.filter.compact.minsize</ name > < value >5368709120</ value > < description >Minimum size (in bytes) of the inputs on which a compact index is automatically used.</ description > </ property > < property > < name >hive.optimize.index.filter.compact.maxsize</ name > < value >-1</ value > < description >Maximum size (in bytes) of the inputs on which a compact index is automatically used. A negative number is equivalent to infinity.</ description > </ property > < property > < name >hive.index.compact.query.max.entries</ name > < value >10000000</ value > < description >The maximum number of index entries to read during a query that uses the compact index. Negative value is equivalent to infinity.</ description > </ property > < property > < name >hive.index.compact.query.max.size</ name > < value >10737418240</ value > < description >The maximum number of bytes that a query using the compact index can read. Negative value is equivalent to infinity.</ description > </ property > < property > < name >hive.index.compact.binary.search</ name > < value >true</ value > < description >Whether or not to use a binary search to find the entries in an index table that match the filter, where possible</ description > </ property > < property > < name >hive.stats.autogather</ name > < value >true</ value > < description >A flag to gather statistics (only basic) automatically during the INSERT OVERWRITE command.</ description > </ property > < property > < name >hive.stats.column.autogather</ name > < value >false</ value > < description >A flag to gather column statistics automatically.</ description > </ property > < property > < name >hive.stats.dbclass</ name > < value >fs</ value > < description > Expects one of the pattern in [custom, fs]. The storage that stores temporary Hive statistics. In filesystem based statistics collection ('fs'), each task writes statistics it has collected in a file on the filesystem, which will be aggregated after the job has finished. Supported values are fs (filesystem) and custom as defined in StatsSetupConst.java. </ description > </ property > < property > < name >hive.stats.default.publisher</ name > < value /> < description >The Java class (implementing the StatsPublisher interface) that is used by default if hive.stats.dbclass is custom type.</ description > </ property > < property > < name >hive.stats.default.aggregator</ name > < value /> < description >The Java class (implementing the StatsAggregator interface) that is used by default if hive.stats.dbclass is custom type.</ description > </ property > < property > < name >hive.stats.atomic</ name > < value >false</ value > < description >whether to update metastore stats only if all stats are available</ description > </ property > < property > < name >hive.client.stats.counters</ name > < value /> < description > Subset of counters that should be of interest for hive.client.stats.publishers (when one wants to limit their publishing). Non-display names should be used </ description > </ property > < property > < name >hive.stats.reliable</ name > < value >false</ value > < description > Whether queries will fail because stats cannot be collected completely accurately. If this is set to true, reading/writing from/into a partition may fail because the stats could not be computed accurately. </ description > </ property > < property > < name >hive.analyze.stmt.collect.partlevel.stats</ name > < value >true</ value > < description >analyze table T compute statistics for columns. Queries like these should compute partitionlevel stats for partitioned table even when no part spec is specified.</ description > </ property > < property > < name >hive.stats.gather.num.threads</ name > < value >10</ value > < description > Number of threads used by partialscan/noscan analyze command for partitioned tables. This is applicable only for file formats that implement StatsProvidingRecordReader (like ORC). </ description > </ property > < property > < name >hive.stats.collect.tablekeys</ name > < value >false</ value > < description > Whether join and group by keys on tables are derived and maintained in the QueryPlan. This is useful to identify how tables are accessed and to determine if they should be bucketed. </ description > </ property > < property > < name >hive.stats.collect.scancols</ name > < value >false</ value > < description > Whether column accesses are tracked in the QueryPlan. This is useful to identify how tables are accessed and to determine if there are wasted columns that can be trimmed. </ description > </ property > < property > < name >hive.stats.ndv.error</ name > < value >20.0</ value > < description > Standard error expressed in percentage. Provides a tradeoff between accuracy and compute cost. A lower value for error indicates higher accuracy and a higher compute cost. </ description > </ property > < property > < name >hive.metastore.stats.ndv.densityfunction</ name > < value >false</ value > < description >Whether to use density function to estimate the NDV for the whole table based on the NDV of partitions</ description > </ property > < property > < name >hive.stats.max.variable.length</ name > < value >100</ value > < description > To estimate the size of data flowing through operators in Hive/Tez(for reducer estimation etc.), average row size is multiplied with the total number of rows coming out of each operator. Average row size is computed from average column size of all columns in the row. In the absence of column statistics, for variable length columns (like string, bytes etc.), this value will be used. For fixed length columns their corresponding Java equivalent sizes are used (float - 4 bytes, double - 8 bytes etc.). </ description > </ property > < property > < name >hive.stats.list.num.entries</ name > < value >10</ value > < description > To estimate the size of data flowing through operators in Hive/Tez(for reducer estimation etc.), average row size is multiplied with the total number of rows coming out of each operator. Average row size is computed from average column size of all columns in the row. In the absence of column statistics and for variable length complex columns like list, the average number of entries/values can be specified using this config. </ description > </ property > < property > < name >hive.stats.map.num.entries</ name > < value >10</ value > < description > To estimate the size of data flowing through operators in Hive/Tez(for reducer estimation etc.), average row size is multiplied with the total number of rows coming out of each operator. Average row size is computed from average column size of all columns in the row. In the absence of column statistics and for variable length complex columns like map, the average number of entries/values can be specified using this config. </ description > </ property > < property > < name >hive.stats.fetch.partition.stats</ name > < value >true</ value > < description > Annotation of operator tree with statistics information requires partition level basic statistics like number of rows, data size and file size. Partition statistics are fetched from metastore. Fetching partition statistics for each needed partition can be expensive when the number of partitions is high. This flag can be used to disable fetching of partition statistics from metastore. When this flag is disabled, Hive will make calls to filesystem to get file sizes and will estimate the number of rows from row schema. </ description > </ property > < property > < name >hive.stats.fetch.column.stats</ name > < value >false</ value > < description > Annotation of operator tree with statistics information requires column statistics. Column statistics are fetched from metastore. Fetching column statistics for each needed column can be expensive when the number of columns is high. This flag can be used to disable fetching of column statistics from metastore. </ description > </ property > < property > < name >hive.stats.join.factor</ name > < value >1.1</ value > < description > Hive/Tez optimizer estimates the data size flowing through each of the operators. JOIN operator uses column statistics to estimate the number of rows flowing out of it and hence the data size. In the absence of column statistics, this factor determines the amount of rows that flows out of JOIN operator. </ description > </ property > < property > < name >hive.stats.deserialization.factor</ name > < value >1.0</ value > < description > Hive/Tez optimizer estimates the data size flowing through each of the operators. In the absence of basic statistics like number of rows and data size, file size is used to estimate the number of rows and data size. Since files in tables/partitions are serialized (and optionally compressed) the estimates of number of rows and data size cannot be reliably determined. This factor is multiplied with the file size to account for serialization and compression. </ description > </ property > < property > < name >hive.stats.filter.in.factor</ name > < value >1.0</ value > < description > Currently column distribution is assumed to be uniform. This can lead to overestimation/underestimation in the number of rows filtered by a certain operator, which in turn might lead to overprovision or underprovision of resources. This factor is applied to the cardinality estimation of IN clauses in filter operators. </ description > </ property > < property > < name >hive.support.concurrency</ name > < value >false</ value > < description > Whether Hive supports concurrency control or not. A ZooKeeper instance must be up and running when using zookeeper Hive lock manager </ description > </ property > < property > < name >hive.lock.manager</ name > < value >org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager</ value > < description /> </ property > < property > < name >hive.lock.numretries</ name > < value >100</ value > < description >The number of times you want to try to get all the locks</ description > </ property > < property > < name >hive.unlock.numretries</ name > < value >10</ value > < description >The number of times you want to retry to do one unlock</ description > </ property > < property > < name >hive.lock.sleep.between.retries</ name > < value >60s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. The time should be in between 0 sec (exclusive) and 9223372036854775807 sec (exclusive). The maximum sleep time between various retries </ description > </ property > < property > < name >hive.lock.mapred.only.operation</ name > < value >false</ value > < description > This param is to control whether or not only do lock on queries that need to execute at least one mapred job. </ description > </ property > < property > < name >hive.zookeeper.quorum</ name > < value /> < description > List of ZooKeeper servers to talk to. This is needed for: 1. Read/write locks - when hive.lock.manager is set to org.apache.hadoop.hive.ql.lockmgr.zookeeper.ZooKeeperHiveLockManager, 2. When HiveServer2 supports service discovery via Zookeeper. 3. For delegation token storage if zookeeper store is used, if hive.cluster.delegation.token.store.zookeeper.connectString is not set 4. LLAP daemon registry service </ description > </ property > < property > < name >hive.zookeeper.client.port</ name > < value >2181</ value > < description > The port of ZooKeeper servers to talk to. If the list of Zookeeper servers specified in hive.zookeeper.quorum does not contain port numbers, this value is used. </ description > </ property > < property > < name >hive.zookeeper.session.timeout</ name > < value >1200000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. ZooKeeper client's session timeout (in milliseconds). The client is disconnected, and as a result, all locks released, if a heartbeat is not sent in the timeout. </ description > </ property > < property > < name >hive.zookeeper.namespace</ name > < value >hive_zookeeper_namespace</ value > < description >The parent node under which all ZooKeeper nodes are created.</ description > </ property > < property > < name >hive.zookeeper.clean.extra.nodes</ name > < value >false</ value > < description >Clean extra nodes at the end of the session.</ description > </ property > < property > < name >hive.zookeeper.connection.max.retries</ name > < value >3</ value > < description >Max number of times to retry when connecting to the ZooKeeper server.</ description > </ property > < property > < name >hive.zookeeper.connection.basesleeptime</ name > < value >1000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Initial amount of time (in milliseconds) to wait between retries when connecting to the ZooKeeper server when using ExponentialBackoffRetry policy. </ description > </ property > < property > < name >hive.txn.manager</ name > < value >org.apache.hadoop.hive.ql.lockmgr.DummyTxnManager</ value > < description > Set to org.apache.hadoop.hive.ql.lockmgr.DbTxnManager as part of turning on Hive transactions, which also requires appropriate settings for hive.compactor.initiator.on, hive.compactor.worker.threads, hive.support.concurrency (true), hive.enforce.bucketing (true), and hive.exec.dynamic.partition.mode (nonstrict). The default DummyTxnManager replicates pre-Hive-0.13 behavior and provides no transactions. </ description > </ property > < property > < name >hive.txn.timeout</ name > < value >300s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. time after which transactions are declared aborted if the client has not sent a heartbeat. </ description > </ property > < property > < name >hive.txn.heartbeat.threadpool.size</ name > < value >5</ value > < description >The number of threads to use for heartbeating. For Hive CLI, 1 is enough. For HiveServer2, we need a few</ description > </ property > < property > < name >hive.txn.manager.dump.lock.state.on.acquire.timeout</ name > < value >false</ value > < description >Set this to true so that when attempt to acquire a lock on resource times out, the current state of the lock manager is dumped to log file. This is for debugging. See also hive.lock.numretries and hive.lock.sleep.between.retries.</ description > </ property > < property > < name >hive.max.open.txns</ name > < value >100000</ value > < description > Maximum number of open transactions. If current open transactions reach this limit, future open transaction requests will be rejected, until this number goes below the limit. </ description > </ property > < property > < name >hive.count.open.txns.interval</ name > < value >1s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Time in seconds between checks to count open transactions. </ description > </ property > < property > < name >hive.txn.max.open.batch</ name > < value >1000</ value > < description > Maximum number of transactions that can be fetched in one call to open_txns(). This controls how many transactions streaming agents such as Flume or Storm open simultaneously. The streaming agent then writes that number of entries into a single file (per Flume agent or Storm bolt). Thus increasing this value decreases the number of delta files created by streaming agents. But it also increases the number of open transactions that Hive has to track at any given time, which may negatively affect read performance. </ description > </ property > < property > < name >hive.txn.retryable.sqlex.regex</ name > < value /> < description > Comma separated list of regular expression patterns for SQL state, error code, and error message of retryable SQLExceptions, that's suitable for the metastore DB. For example: Can't serialize.*,40001$,^Deadlock,.*ORA-08176.* The string that the regex will be matched against is of the following form, where ex is a SQLException: ex.getMessage() + " (SQLState=" + ex.getSQLState() + ", ErrorCode=" + ex.getErrorCode() + ")" </ description > </ property > < property > < name >hive.compactor.initiator.on</ name > < value >false</ value > < description > Whether to run the initiator and cleaner threads on this metastore instance or not. Set this to true on one instance of the Thrift metastore service as part of turning on Hive transactions. For a complete list of parameters required for turning on transactions, see hive.txn.manager. </ description > </ property > < property > < name >hive.compactor.worker.threads</ name > < value >0</ value > < description > How many compactor worker threads to run on this metastore instance. Set this to a positive number on one or more instances of the Thrift metastore service as part of turning on Hive transactions. For a complete list of parameters required for turning on transactions, see hive.txn.manager. Worker threads spawn MapReduce jobs to do compactions. They do not do the compactions themselves. Increasing the number of worker threads will decrease the time it takes tables or partitions to be compacted once they are determined to need compaction. It will also increase the background load on the Hadoop cluster as more MapReduce jobs will be running in the background. </ description > </ property > < property > < name >hive.compactor.worker.timeout</ name > < value >86400s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Time in seconds after which a compaction job will be declared failed and the compaction re-queued. </ description > </ property > < property > < name >hive.compactor.check.interval</ name > < value >300s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Time in seconds between checks to see if any tables or partitions need to be compacted. This should be kept high because each check for compaction requires many calls against the NameNode. Decreasing this value will reduce the time it takes for compaction to be started for a table or partition that requires compaction. However, checking if compaction is needed requires several calls to the NameNode for each table or partition that has had a transaction done on it since the last major compaction. So decreasing this value will increase the load on the NameNode. </ description > </ property > < property > < name >hive.compactor.delta.num.threshold</ name > < value >10</ value > < description > Number of delta directories in a table or partition that will trigger a minor compaction. </ description > </ property > < property > < name >hive.compactor.delta.pct.threshold</ name > < value >0.1</ value > < description > Percentage (fractional) size of the delta files relative to the base that will trigger a major compaction. (1.0 = 100%, so the default 0.1 = 10%.) </ description > </ property > < property > < name >hive.compactor.max.num.delta</ name > < value >500</ value > < description >Maximum number of delta files that the compactor will attempt to handle in a single job.</ description > </ property > < property > < name >hive.compactor.abortedtxn.threshold</ name > < value >1000</ value > < description > Number of aborted transactions involving a given table or partition that will trigger a major compaction. </ description > </ property > < property > < name >hive.compactor.initiator.failed.compacts.threshold</ name > < value >2</ value > < description > Expects value between 1 and 20. Number of consecutive compaction failures (per table/partition) after which automatic compactions will not be scheduled any more. Note that this must be less than hive.compactor.history.retention.failed. </ description > </ property > < property > < name >hive.compactor.cleaner.run.interval</ name > < value >5000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Time between runs of the cleaner thread </ description > </ property > < property > < name >hive.compactor.job.queue</ name > < value /> < description > Used to specify name of Hadoop queue to which Compaction jobs will be submitted. Set to empty string to let Hadoop choose the queue. </ description > </ property > < property > < name >hive.compactor.history.retention.succeeded</ name > < value >3</ value > < description > Expects value between 0 and 100. Determines how many successful compaction records will be retained in compaction history for a given table/partition. </ description > </ property > < property > < name >hive.compactor.history.retention.failed</ name > < value >3</ value > < description > Expects value between 0 and 100. Determines how many failed compaction records will be retained in compaction history for a given table/partition. </ description > </ property > < property > < name >hive.compactor.history.retention.attempted</ name > < value >2</ value > < description > Expects value between 0 and 100. Determines how many attempted compaction records will be retained in compaction history for a given table/partition. </ description > </ property > < property > < name >hive.compactor.history.reaper.interval</ name > < value >2m</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Determines how often compaction history reaper runs </ description > </ property > < property > < name >hive.timedout.txn.reaper.start</ name > < value >100s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Time delay of 1st reaper run after metastore start </ description > </ property > < property > < name >hive.timedout.txn.reaper.interval</ name > < value >180s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Time interval describing how often the reaper runs </ description > </ property > < property > < name >hive.writeset.reaper.interval</ name > < value >60s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Frequency of WriteSet reaper runs </ description > </ property > < property > < name >hive.hbase.wal.enabled</ name > < value >true</ value > < description > Whether writes to HBase should be forced to the write-ahead log. Disabling this improves HBase write performance at the risk of lost writes in case of a crash. </ description > </ property > < property > < name >hive.hbase.generatehfiles</ name > < value >false</ value > < description >True when HBaseStorageHandler should generate hfiles instead of operate against the online table.</ description > </ property > < property > < name >hive.hbase.snapshot.name</ name > < value /> < description >The HBase table snapshot name to use.</ description > </ property > < property > < name >hive.hbase.snapshot.restoredir</ name > < value >/tmp</ value > < description >The directory in which to restore the HBase table snapshot.</ description > </ property > < property > < name >hive.archive.enabled</ name > < value >false</ value > < description >Whether archiving operations are permitted</ description > </ property > < property > < name >hive.optimize.index.groupby</ name > < value >false</ value > < description >Whether to enable optimization of group-by queries using Aggregate indexes.</ description > </ property > < property > < name >hive.outerjoin.supports.filters</ name > < value >true</ value > < description /> </ property > < property > < name >hive.fetch.task.conversion</ name > < value >more</ value > < description > Expects one of [none, minimal, more]. Some select queries can be converted to single FETCH task minimizing latency. Currently the query should be single sourced not having any subquery and should not have any aggregations or distincts (which incurs RS), lateral views and joins. 0. none : disable hive.fetch.task.conversion 1. minimal : SELECT STAR, FILTER on partition columns, LIMIT only 2. more : SELECT, FILTER, LIMIT only (support TABLESAMPLE and virtual columns) </ description > </ property > < property > < name >hive.fetch.task.conversion.threshold</ name > < value >1073741824</ value > < description > Input threshold for applying hive.fetch.task.conversion. If target table is native, input length is calculated by summation of file lengths. If it's not native, storage handler for the table can optionally implement org.apache.hadoop.hive.ql.metadata.InputEstimator interface. </ description > </ property > < property > < name >hive.fetch.task.aggr</ name > < value >false</ value > < description > Aggregation queries with no group-by clause (for example, select count(*) from src) execute final aggregations in single reduce task. If this is set true, Hive delegates final aggregation stage to fetch task, possibly decreasing the query time. </ description > </ property > < property > < name >hive.compute.query.using.stats</ name > < value >false</ value > < description > When set to true Hive will answer a few queries like count(1) purely using stats stored in metastore. For basic stats collection turn on the config hive.stats.autogather to true. For more advanced stats collection need to run analyze table queries. </ description > </ property > < property > < name >hive.fetch.output.serde</ name > < value >org.apache.hadoop.hive.serde2.DelimitedJSONSerDe</ value > < description >The SerDe used by FetchTask to serialize the fetch output.</ description > </ property > < property > < name >hive.cache.expr.evaluation</ name > < value >true</ value > < description > If true, the evaluation result of a deterministic expression referenced twice or more will be cached. For example, in a filter condition like '.. where key + 10 = 100 or key + 10 = 0' the expression 'key + 10' will be evaluated/cached once and reused for the following expression ('key + 10 = 0'). Currently, this is applied only to expressions in select or filter operators. </ description > </ property > < property > < name >hive.variable.substitute</ name > < value >true</ value > < description >This enables substitution using syntax like ${var} ${system:var} and ${env:var}.</ description > </ property > < property > < name >hive.variable.substitute.depth</ name > < value >40</ value > < description >The maximum replacements the substitution engine will do.</ description > </ property > < property > < name >hive.conf.validation</ name > < value >true</ value > < description >Enables type checking for registered Hive configurations</ description > </ property > < property > < name >hive.semantic.analyzer.hook</ name > < value /> < description /> </ property > < property > < name >hive.security.authorization.enabled</ name > < value >false</ value > < description >enable or disable the Hive client authorization</ description > </ property > < property > < name >hive.security.authorization.manager</ name > < value >org.apache.hadoop.hive.ql.security.authorization.plugin.sqlstd.SQLStdHiveAuthorizerFactory</ value > < description > The Hive client authorization manager class name. The user defined authorization class should implement interface org.apache.hadoop.hive.ql.security.authorization.HiveAuthorizationProvider. </ description > </ property > < property > < name >hive.security.authenticator.manager</ name > < value >org.apache.hadoop.hive.ql.security.HadoopDefaultAuthenticator</ value > < description > hive client authenticator manager class name. The user defined authenticator should implement interface org.apache.hadoop.hive.ql.security.HiveAuthenticationProvider. </ description > </ property > < property > < name >hive.security.metastore.authorization.manager</ name > < value >org.apache.hadoop.hive.ql.security.authorization.DefaultHiveMetastoreAuthorizationProvider</ value > < description > Names of authorization manager classes (comma separated) to be used in the metastore for authorization. The user defined authorization class should implement interface org.apache.hadoop.hive.ql.security.authorization.HiveMetastoreAuthorizationProvider. All authorization manager classes have to successfully authorize the metastore API call for the command execution to be allowed. </ description > </ property > < property > < name >hive.security.metastore.authorization.auth.reads</ name > < value >true</ value > < description >If this is true, metastore authorizer authorizes read actions on database, table</ description > </ property > < property > < name >hive.security.metastore.authenticator.manager</ name > < value >org.apache.hadoop.hive.ql.security.HadoopDefaultMetastoreAuthenticator</ value > < description > authenticator manager class name to be used in the metastore for authentication. The user defined authenticator should implement interface org.apache.hadoop.hive.ql.security.HiveAuthenticationProvider. </ description > </ property > < property > < name >hive.security.authorization.createtable.user.grants</ name > < value /> < description > the privileges automatically granted to some users whenever a table gets created. An example like "userX,userY:select;userZ:create" will grant select privilege to userX and userY, and grant create privilege to userZ whenever a new table created. </ description > </ property > < property > < name >hive.security.authorization.createtable.group.grants</ name > < value /> < description > the privileges automatically granted to some groups whenever a table gets created. An example like "groupX,groupY:select;groupZ:create" will grant select privilege to groupX and groupY, and grant create privilege to groupZ whenever a new table created. </ description > </ property > < property > < name >hive.security.authorization.createtable.role.grants</ name > < value /> < description > the privileges automatically granted to some roles whenever a table gets created. An example like "roleX,roleY:select;roleZ:create" will grant select privilege to roleX and roleY, and grant create privilege to roleZ whenever a new table created. </ description > </ property > < property > < name >hive.security.authorization.createtable.owner.grants</ name > < value /> < description > The privileges automatically granted to the owner whenever a table gets created. An example like "select,drop" will grant select and drop privilege to the owner of the table. Note that the default gives the creator of a table no access to the table (but see HIVE-8067). </ description > </ property > < property > < name >hive.security.authorization.task.factory</ name > < value >org.apache.hadoop.hive.ql.parse.authorization.HiveAuthorizationTaskFactoryImpl</ value > < description >Authorization DDL task factory implementation</ description > </ property > < property > < name >hive.security.authorization.sqlstd.confwhitelist</ name > < value /> < description > List of comma separated Java regexes. Configurations parameters that match these regexes can be modified by user when SQL standard authorization is enabled. To get the default value, use the 'set < param >' command. Note that the hive.conf.restricted.list checks are still enforced after the white list check </ description > </ property > < property > < name >hive.security.authorization.sqlstd.confwhitelist.append</ name > < value /> < description > List of comma separated Java regexes, to be appended to list set in hive.security.authorization.sqlstd.confwhitelist. Using this list instead of updating the original list means that you can append to the defaults set by SQL standard authorization instead of replacing it entirely. </ description > </ property > < property > < name >hive.cli.print.header</ name > < value >false</ value > < description >Whether to print the names of the columns in query output.</ description > </ property > < property > < name >hive.cli.tez.session.async</ name > < value >true</ value > < description > Whether to start Tez session in background when running CLI with Tez, allowing CLI to be available earlier. </ description > </ property > < property > < name >hive.error.on.empty.partition</ name > < value >false</ value > < description >Whether to throw an exception if dynamic partition insert generates empty results.</ description > </ property > < property > < name >hive.index.compact.file</ name > < value /> < description >internal variable</ description > </ property > < property > < name >hive.index.blockfilter.file</ name > < value /> < description >internal variable</ description > </ property > < property > < name >hive.index.compact.file.ignore.hdfs</ name > < value >false</ value > < description > When true the HDFS location stored in the index file will be ignored at runtime. If the data got moved or the name of the cluster got changed, the index data should still be usable. </ description > </ property > < property > < name >hive.exim.uri.scheme.whitelist</ name > < value >hdfs,pfile</ value > < description >A comma separated list of acceptable URI schemes for import and export.</ description > </ property > < property > < name >hive.exim.strict.repl.tables</ name > < value >true</ value > < description > Parameter that determines if 'regular' (non-replication) export dumps can be imported on to tables that are the target of replication. If this parameter is set, regular imports will check if the destination table(if it exists) has a 'repl.last.id' set on it. If so, it will fail. </ description > </ property > < property > < name >hive.repl.task.factory</ name > < value >org.apache.hive.hcatalog.api.repl.exim.EximReplicationTaskFactory</ value > < description > Parameter that can be used to override which ReplicationTaskFactory will be used to instantiate ReplicationTask events. Override for third party repl plugins </ description > </ property > < property > < name >hive.mapper.cannot.span.multiple.partitions</ name > < value >false</ value > < description /> </ property > < property > < name >hive.rework.mapredwork</ name > < value >false</ value > < description > should rework the mapred work or not. This is first introduced by SymlinkTextInputFormat to replace symlink files with real paths at compile time. </ description > </ property > < property > < name >hive.exec.concatenate.check.index</ name > < value >true</ value > < description > If this is set to true, Hive will throw error when doing 'alter table tbl_name [partSpec] concatenate' on a table/partition that has indexes on it. The reason the user want to set this to true is because it can help user to avoid handling all index drop, recreation, rebuild work. This is very helpful for tables with thousands of partitions. </ description > </ property > < property > < name >hive.io.exception.handlers</ name > < value /> < description > A list of io exception handler class names. This is used to construct a list exception handlers to handle exceptions thrown by record readers </ description > </ property > < property > < name >hive.log4j.file</ name > < value /> < description > Hive log4j configuration file. If the property is not set, then logging will be initialized using hive-log4j2.properties found on the classpath. If the property is set, the value must be a valid URI (java.net.URI, e.g. "file:///tmp/my-logging.xml"), which you can then extract a URL from and pass to PropertyConfigurator.configure(URL). </ description > </ property > < property > < name >hive.exec.log4j.file</ name > < value /> < description > Hive log4j configuration file for execution mode(sub command). If the property is not set, then logging will be initialized using hive-exec-log4j2.properties found on the classpath. If the property is set, the value must be a valid URI (java.net.URI, e.g. "file:///tmp/my-logging.xml"), which you can then extract a URL from and pass to PropertyConfigurator.configure(URL). </ description > </ property > < property > < name >hive.async.log.enabled</ name > < value >true</ value > < description > Whether to enable Log4j2's asynchronous logging. Asynchronous logging can give significant performance improvement as logging will be handled in separate thread that uses LMAX disruptor queue for buffering log messages. Refer https://logging.apache.org/log4j/2.x/manual/async.html for benefits and drawbacks. </ description > </ property > < property > < name >hive.log.explain.output</ name > < value >false</ value > < description > Whether to log explain output for every query. When enabled, will log EXPLAIN EXTENDED output for the query at INFO log4j log level. </ description > </ property > < property > < name >hive.explain.user</ name > < value >true</ value > < description > Whether to show explain result at user level. When enabled, will log EXPLAIN output for the query at user level. </ description > </ property > < property > < name >hive.autogen.columnalias.prefix.label</ name > < value >_c</ value > < description > String used as a prefix when auto generating column alias. By default the prefix label will be appended with a column position number to form the column alias. Auto generation would happen if an aggregate function is used in a select clause without an explicit alias. </ description > </ property > < property > < name >hive.autogen.columnalias.prefix.includefuncname</ name > < value >false</ value > < description >Whether to include function name in the column alias auto generated by Hive.</ description > </ property > < property > < name >hive.service.metrics.class</ name > < value >org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics</ value > < description > Expects one of [org.apache.hadoop.hive.common.metrics.metrics2.codahalemetrics, org.apache.hadoop.hive.common.metrics.legacymetrics]. Hive metrics subsystem implementation class. </ description > </ property > < property > < name >hive.service.metrics.reporter</ name > < value >JSON_FILE, JMX</ value > < description >Reporter type for metric class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics, comma separated list of JMX, CONSOLE, JSON_FILE, HADOOP2</ description > </ property > < property > < name >hive.service.metrics.file.location</ name > < value >/tmp/report.json</ value > < description >For metric class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics JSON_FILE reporter, the location of local JSON metrics file. This file will get overwritten at every interval.</ description > </ property > < property > < name >hive.service.metrics.file.frequency</ name > < value >5s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. For metric class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics JSON_FILE reporter, the frequency of updating JSON metrics file. </ description > </ property > < property > < name >hive.service.metrics.hadoop2.frequency</ name > < value >30s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. For metric class org.apache.hadoop.hive.common.metrics.metrics2.CodahaleMetrics HADOOP2 reporter, the frequency of updating the HADOOP2 metrics system. </ description > </ property > < property > < name >hive.service.metrics.hadoop2.component</ name > < value >hive</ value > < description >Component name to provide to Hadoop2 Metrics system. Ideally 'hivemetastore' for the MetaStore and and 'hiveserver2' for HiveServer2.</ description > </ property > < property > < name >hive.exec.perf.logger</ name > < value >org.apache.hadoop.hive.ql.log.PerfLogger</ value > < description > The class responsible for logging client side performance metrics. Must be a subclass of org.apache.hadoop.hive.ql.log.PerfLogger </ description > </ property > < property > < name >hive.start.cleanup.scratchdir</ name > < value >false</ value > < description >To cleanup the Hive scratchdir when starting the Hive Server</ description > </ property > < property > < name >hive.scratchdir.lock</ name > < value >false</ value > < description >To hold a lock file in scratchdir to prevent to be removed by cleardanglingscratchdir</ description > </ property > < property > < name >hive.insert.into.multilevel.dirs</ name > < value >false</ value > < description > Where to insert into multilevel directories like "insert directory '/HIVEFT25686/chinna/' from table" </ description > </ property > < property > < name >hive.warehouse.subdir.inherit.perms</ name > < value >true</ value > < description > Set this to false if the table directories should be created with the permissions derived from dfs umask instead of inheriting the permission of the warehouse or database directory. </ description > </ property > < property > < name >hive.insert.into.external.tables</ name > < value >true</ value > < description >whether insert into external tables is allowed</ description > </ property > < property > < name >hive.exec.temporary.table.storage</ name > < value >default</ value > < description > Expects one of [memory, ssd, default]. Define the storage policy for temporary tables.Choices between memory, ssd and default </ description > </ property > < property > < name >hive.exec.driver.run.hooks</ name > < value /> < description >A comma separated list of hooks which implement HiveDriverRunHook. Will be run at the beginning and end of Driver.run, these will be run in the order specified.</ description > </ property > < property > < name >hive.ddl.output.format</ name > < value /> < description > The data format to use for DDL output. One of "text" (for human readable text) or "json" (for a json object). </ description > </ property > < property > < name >hive.entity.separator</ name > < value >@</ value > < description >Separator used to construct names of tables and partitions. For example, dbname@tablename@partitionname</ description > </ property > < property > < name >hive.entity.capture.transform</ name > < value >false</ value > < description >Compiler to capture transform URI referred in the query</ description > </ property > < property > < name >hive.display.partition.cols.separately</ name > < value >true</ value > < description > In older Hive version (0.10 and earlier) no distinction was made between partition columns or non-partition columns while displaying columns in describe table. From 0.12 onwards, they are displayed separately. This flag will let you get old behavior, if desired. See, test-case in patch for HIVE-6689. </ description > </ property > < property > < name >hive.ssl.protocol.blacklist</ name > < value >SSLv2,SSLv3</ value > < description >SSL Versions to disable for all Hive Servers</ description > </ property > < property > < name >hive.server2.max.start.attempts</ name > < value >30</ value > < description > Expects value bigger than 0. Number of times HiveServer2 will attempt to start before exiting, sleeping 60 seconds between retries. The default of 30 will keep trying for 30 minutes. </ description > </ property > < property > < name >hive.server2.support.dynamic.service.discovery</ name > < value >false</ value > < description >Whether HiveServer2 supports dynamic service discovery for its clients. To support this, each instance of HiveServer2 currently uses ZooKeeper to register itself, when it is brought up. JDBC/ODBC clients should use the ZooKeeper ensemble: hive.zookeeper.quorum in their connection string.</ description > </ property > < property > < name >hive.server2.zookeeper.namespace</ name > < value >hiveserver2</ value > < description >The parent node in ZooKeeper used by HiveServer2 when supporting dynamic service discovery.</ description > </ property > < property > < name >hive.server2.zookeeper.publish.configs</ name > < value >true</ value > < description >Whether we should publish HiveServer2's configs to ZooKeeper.</ description > </ property > < property > < name >hive.server2.global.init.file.location</ name > < value >${env:HIVE_CONF_DIR}</ value > < description > Either the location of a HS2 global init file or a directory containing a .hiverc file. If the property is set, the value must be a valid path to an init file or directory where the init file is located. </ description > </ property > < property > < name >hive.server2.transport.mode</ name > < value >binary</ value > < description > Expects one of [binary, http]. Transport mode of HiveServer2. </ description > </ property > < property > < name >hive.server2.thrift.bind.host</ name > < value >s101</ value > < description >Bind host on which to run the HiveServer2 Thrift service.</ description > </ property > < property > < name >hive.driver.parallel.compilation</ name > < value >false</ value > < description > Whether to enable parallel compilation between sessions on HiveServer2. The default is false. </ description > </ property > < property > < name >hive.server2.compile.lock.timeout</ name > < value >0s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Number of seconds a request will wait to acquire the compile lock before giving up. Setting it to 0s disables the timeout. </ description > </ property > < property > < name >hive.server2.parallel.ops.in.session</ name > < value >true</ value > < description >Whether to allow several parallel operations (such as SQL statements) in one session.</ description > </ property > < property > < name >hive.server2.webui.host</ name > < value >0.0.0.0</ value > < description >The host address the HiveServer2 WebUI will listen on</ description > </ property > < property > < name >hive.server2.webui.port</ name > < value >10002</ value > < description >The port the HiveServer2 WebUI will listen on. This can beset to 0 or a negative integer to disable the web UI</ description > </ property > < property > < name >hive.server2.webui.max.threads</ name > < value >50</ value > < description >The max HiveServer2 WebUI threads</ description > </ property > < property > < name >hive.server2.webui.use.ssl</ name > < value >false</ value > < description >Set this to true for using SSL encryption for HiveServer2 WebUI.</ description > </ property > < property > < name >hive.server2.webui.keystore.path</ name > < value /> < description >SSL certificate keystore location for HiveServer2 WebUI.</ description > </ property > < property > < name >hive.server2.webui.keystore.password</ name > < value /> < description >SSL certificate keystore password for HiveServer2 WebUI.</ description > </ property > < property > < name >hive.server2.webui.use.spnego</ name > < value >false</ value > < description >If true, the HiveServer2 WebUI will be secured with SPNEGO. Clients must authenticate with Kerberos.</ description > </ property > < property > < name >hive.server2.webui.spnego.keytab</ name > < value /> < description >The path to the Kerberos Keytab file containing the HiveServer2 WebUI SPNEGO service principal.</ description > </ property > < property > < name >hive.server2.webui.spnego.principal</ name > < value >HTTP/_HOST@EXAMPLE.COM</ value > < description > The HiveServer2 WebUI SPNEGO service principal. The special string _HOST will be replaced automatically with the value of hive.server2.webui.host or the correct host name. </ description > </ property > < property > < name >hive.server2.webui.max.historic.queries</ name > < value >25</ value > < description >The maximum number of past queries to show in HiverSever2 WebUI.</ description > </ property > < property > < name >hive.server2.tez.default.queues</ name > < value /> < description > A list of comma separated values corresponding to YARN queues of the same name. When HiveServer2 is launched in Tez mode, this configuration needs to be set for multiple Tez sessions to run in parallel on the cluster. </ description > </ property > < property > < name >hive.server2.tez.sessions.per.default.queue</ name > < value >1</ value > < description > A positive integer that determines the number of Tez sessions that should be launched on each of the queues specified by "hive.server2.tez.default.queues". Determines the parallelism on each queue. </ description > </ property > < property > < name >hive.server2.tez.initialize.default.sessions</ name > < value >false</ value > < description > This flag is used in HiveServer2 to enable a user to use HiveServer2 without turning on Tez for HiveServer2. The user could potentially want to run queries over Tez without the pool of sessions. </ description > </ property > < property > < name >hive.server2.tez.session.lifetime</ name > < value >162h</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is hour if not specified. The lifetime of the Tez sessions launched by HS2 when default sessions are enabled. Set to 0 to disable session expiration. </ description > </ property > < property > < name >hive.server2.tez.session.lifetime.jitter</ name > < value >3h</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is hour if not specified. The jitter for Tez session lifetime; prevents all the sessions from restarting at once. </ description > </ property > < property > < name >hive.server2.tez.sessions.init.threads</ name > < value >16</ value > < description > If hive.server2.tez.initialize.default.sessions is enabled, the maximum number of threads to use to initialize the default sessions. </ description > </ property > < property > < name >hive.server2.logging.operation.enabled</ name > < value >true</ value > < description >When true, HS2 will save operation logs and make them available for clients</ description > </ property > < property > < name >hive.server2.logging.operation.log.location</ name > < value >/home/centos/hive/centos/operation_logs</ value > < description >Top level directory where operation logs are stored if logging functionality is enabled</ description > </ property > < property > < name >hive.server2.logging.operation.level</ name > < value >EXECUTION</ value > < description > Expects one of [none, execution, performance, verbose]. HS2 operation logging mode available to clients to be set at session level. For this to work, hive.server2.logging.operation.enabled should be set to true. NONE: Ignore any logging EXECUTION: Log completion of tasks PERFORMANCE: Execution + Performance logs VERBOSE: All logs </ description > </ property > < property > < name >hive.server2.metrics.enabled</ name > < value >false</ value > < description >Enable metrics on the HiveServer2.</ description > </ property > < property > < name >hive.server2.thrift.http.port</ name > < value >10001</ value > < description >Port number of HiveServer2 Thrift interface when hive.server2.transport.mode is 'http'.</ description > </ property > < property > < name >hive.server2.thrift.http.path</ name > < value >cliservice</ value > < description >Path component of URL endpoint when in HTTP mode.</ description > </ property > < property > < name >hive.server2.thrift.max.message.size</ name > < value >104857600</ value > < description >Maximum message size in bytes a HS2 server will accept.</ description > </ property > < property > < name >hive.server2.thrift.http.max.idle.time</ name > < value >1800s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Maximum idle time for a connection on the server when in HTTP mode. </ description > </ property > < property > < name >hive.server2.thrift.http.worker.keepalive.time</ name > < value >60s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Keepalive time for an idle http worker thread. When the number of workers exceeds min workers, excessive threads are killed after this time interval. </ description > </ property > < property > < name >hive.server2.thrift.http.request.header.size</ name > < value >6144</ value > < description >Request header size in bytes, when using HTTP transport mode. Jetty defaults used.</ description > </ property > < property > < name >hive.server2.thrift.http.response.header.size</ name > < value >6144</ value > < description >Response header size in bytes, when using HTTP transport mode. Jetty defaults used.</ description > </ property > < property > < name >hive.server2.thrift.http.cookie.auth.enabled</ name > < value >true</ value > < description >When true, HiveServer2 in HTTP transport mode, will use cookie based authentication mechanism.</ description > </ property > < property > < name >hive.server2.thrift.http.cookie.max.age</ name > < value >86400s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Maximum age in seconds for server side cookie used by HS2 in HTTP mode. </ description > </ property > < property > < name >hive.server2.thrift.http.cookie.domain</ name > < value /> < description >Domain for the HS2 generated cookies</ description > </ property > < property > < name >hive.server2.thrift.http.cookie.path</ name > < value /> < description >Path for the HS2 generated cookies</ description > </ property > < property > < name >hive.server2.thrift.http.cookie.is.secure</ name > < value >true</ value > < description >Secure attribute of the HS2 generated cookie.</ description > </ property > < property > < name >hive.server2.thrift.http.cookie.is.httponly</ name > < value >true</ value > < description >HttpOnly attribute of the HS2 generated cookie.</ description > </ property > < property > < name >hive.server2.thrift.port</ name > < value >10000</ value > < description >Port number of HiveServer2 Thrift interface when hive.server2.transport.mode is 'binary'.</ description > </ property > < property > < name >hive.server2.thrift.sasl.qop</ name > < value >auth</ value > < description > Expects one of [auth, auth-int, auth-conf]. Sasl QOP value; set it to one of following values to enable higher levels of protection for HiveServer2 communication with clients. Setting hadoop.rpc.protection to a higher level than HiveServer2 does not make sense in most situations. HiveServer2 ignores hadoop.rpc.protection in favor of hive.server2.thrift.sasl.qop. "auth" - authentication only (default) "auth-int" - authentication plus integrity protection "auth-conf" - authentication plus integrity and confidentiality protection This is applicable only if HiveServer2 is configured to use Kerberos authentication. </ description > </ property > < property > < name >hive.server2.thrift.min.worker.threads</ name > < value >5</ value > < description >Minimum number of Thrift worker threads</ description > </ property > < property > < name >hive.server2.thrift.max.worker.threads</ name > < value >500</ value > < description >Maximum number of Thrift worker threads</ description > </ property > < property > < name >hive.server2.thrift.exponential.backoff.slot.length</ name > < value >100ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Binary exponential backoff slot time for Thrift clients during login to HiveServer2, for retries until hitting Thrift client timeout </ description > </ property > < property > < name >hive.server2.thrift.login.timeout</ name > < value >20s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Timeout for Thrift clients during login to HiveServer2 </ description > </ property > < property > < name >hive.server2.thrift.worker.keepalive.time</ name > < value >60s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Keepalive time (in seconds) for an idle worker thread. When the number of workers exceeds min workers, excessive threads are killed after this time interval. </ description > </ property > < property > < name >hive.server2.async.exec.threads</ name > < value >100</ value > < description >Number of threads in the async thread pool for HiveServer2</ description > </ property > < property > < name >hive.server2.async.exec.shutdown.timeout</ name > < value >10s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. How long HiveServer2 shutdown will wait for async threads to terminate. </ description > </ property > < property > < name >hive.server2.async.exec.wait.queue.size</ name > < value >100</ value > < description > Size of the wait queue for async thread pool in HiveServer2. After hitting this limit, the async thread pool will reject new requests. </ description > </ property > < property > < name >hive.server2.async.exec.keepalive.time</ name > < value >10s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Time that an idle HiveServer2 async thread (from the thread pool) will wait for a new task to arrive before terminating </ description > </ property > < property > < name >hive.server2.async.exec.async.compile</ name > < value >false</ value > < description >Whether to enable compiling async query asynchronously. If enabled, it is unknown if the query will have any resultset before compilation completed.</ description > </ property > < property > < name >hive.server2.long.polling.timeout</ name > < value >5000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Time that HiveServer2 will wait before responding to asynchronous calls that use long polling </ description > </ property > < property > < name >hive.session.impl.classname</ name > < value /> < description >Classname for custom implementation of hive session</ description > </ property > < property > < name >hive.session.impl.withugi.classname</ name > < value /> < description >Classname for custom implementation of hive session with UGI</ description > </ property > < property > < name >hive.server2.authentication</ name > < value >NONE</ value > < description > Expects one of [nosasl, none, ldap, kerberos, pam, custom]. Client authentication types. NONE: no authentication check LDAP: LDAP/AD based authentication KERBEROS: Kerberos/GSSAPI authentication CUSTOM: Custom authentication provider (Use with property hive.server2.custom.authentication.class) PAM: Pluggable authentication module NOSASL: Raw transport </ description > </ property > < property > < name >hive.server2.allow.user.substitution</ name > < value >true</ value > < description >Allow alternate user to be specified as part of HiveServer2 open connection request.</ description > </ property > < property > < name >hive.server2.authentication.kerberos.keytab</ name > < value /> < description >Kerberos keytab file for server principal</ description > </ property > < property > < name >hive.server2.authentication.kerberos.principal</ name > < value /> < description >Kerberos server principal</ description > </ property > < property > < name >hive.server2.authentication.spnego.keytab</ name > < value /> < description > keytab file for SPNego principal, optional, typical value would look like /etc/security/keytabs/spnego.service.keytab, This keytab would be used by HiveServer2 when Kerberos security is enabled and HTTP transport mode is used. This needs to be set only if SPNEGO is to be used in authentication. SPNego authentication would be honored only if valid hive.server2.authentication.spnego.principal and hive.server2.authentication.spnego.keytab are specified. </ description > </ property > < property > < name >hive.server2.authentication.spnego.principal</ name > < value /> < description > SPNego service principal, optional, typical value would look like HTTP/_HOST@EXAMPLE.COM SPNego service principal would be used by HiveServer2 when Kerberos security is enabled and HTTP transport mode is used. This needs to be set only if SPNEGO is to be used in authentication. </ description > </ property > < property > < name >hive.server2.authentication.ldap.url</ name > < value /> < description > LDAP connection URL(s), this value could contain URLs to mutiple LDAP servers instances for HA, each LDAP URL is separated by a SPACE character. URLs are used in the order specified until a connection is successful. </ description > </ property > < property > < name >hive.server2.authentication.ldap.baseDN</ name > < value /> < description >LDAP base DN</ description > </ property > < property > < name >hive.server2.authentication.ldap.Domain</ name > < value /> < description /> </ property > < property > < name >hive.server2.authentication.ldap.groupDNPattern</ name > < value /> < description > COLON-separated list of patterns to use to find DNs for group entities in this directory. Use %s where the actual group name is to be substituted for. For example: CN=%s,CN=Groups,DC=subdomain,DC=domain,DC=com. </ description > </ property > < property > < name >hive.server2.authentication.ldap.groupFilter</ name > < value /> < description > COMMA-separated list of LDAP Group names (short name not full DNs). For example: HiveAdmins,HadoopAdmins,Administrators </ description > </ property > < property > < name >hive.server2.authentication.ldap.userDNPattern</ name > < value /> < description > COLON-separated list of patterns to use to find DNs for users in this directory. Use %s where the actual group name is to be substituted for. For example: CN=%s,CN=Users,DC=subdomain,DC=domain,DC=com. </ description > </ property > < property > < name >hive.server2.authentication.ldap.userFilter</ name > < value /> < description > COMMA-separated list of LDAP usernames (just short names, not full DNs). For example: hiveuser,impalauser,hiveadmin,hadoopadmin </ description > </ property > < property > < name >hive.server2.authentication.ldap.guidKey</ name > < value >uid</ value > < description > LDAP attribute name whose values are unique in this LDAP server. For example: uid or CN. </ description > </ property > < property > < name >hive.server2.authentication.ldap.groupMembershipKey</ name > < value >member</ value > < description > LDAP attribute name on the user entry that references a group, the user belongs to. For example: member, uniqueMember or memberUid </ description > </ property > < property > < name >hive.server2.authentication.ldap.groupClassKey</ name > < value >groupOfNames</ value > < description > LDAP attribute name on the group entry that is to be used in LDAP group searches. For example: group, groupOfNames or groupOfUniqueNames. </ description > </ property > < property > < name >hive.server2.authentication.ldap.customLDAPQuery</ name > < value /> < description > A full LDAP query that LDAP Atn provider uses to execute against LDAP Server. If this query returns a null resultset, the LDAP Provider fails the Authentication request, succeeds if the user is part of the resultset.For example: (&(objectClass=group)(objectClass=top)(instanceType=4)(cn=Domain*)) (&(objectClass=person)(|(sAMAccountName=admin)(|(memberOf=CN=Domain Admins,CN=Users,DC=domain,DC=com)(memberOf=CN=Administrators,CN=Builtin,DC=domain,DC=com)))) </ description > </ property > < property > < name >hive.server2.custom.authentication.class</ name > < value /> < description > Custom authentication class. Used when property 'hive.server2.authentication' is set to 'CUSTOM'. Provided class must be a proper implementation of the interface org.apache.hive.service.auth.PasswdAuthenticationProvider. HiveServer2 will call its Authenticate(user, passed) method to authenticate requests. The implementation may optionally implement Hadoop's org.apache.hadoop.conf.Configurable class to grab Hive's Configuration object. </ description > </ property > < property > < name >hive.server2.authentication.pam.services</ name > < value /> < description > List of the underlying pam services that should be used when auth type is PAM A file with the same name must exist in /etc/pam.d </ description > </ property > < property > < name >hive.server2.enable.doAs</ name > < value >true</ value > < description > Setting this property to true will have HiveServer2 execute Hive operations as the user making the calls to it. </ description > </ property > < property > < name >hive.server2.table.type.mapping</ name > < value >CLASSIC</ value > < description > Expects one of [classic, hive]. This setting reflects how HiveServer2 will report the table types for JDBC and other client implementations that retrieve the available tables and supported table types HIVE : Exposes Hive's native table types like MANAGED_TABLE, EXTERNAL_TABLE, VIRTUAL_VIEW CLASSIC : More generic types like TABLE and VIEW </ description > </ property > < property > < name >hive.server2.session.hook</ name > < value /> < description /> </ property > < property > < name >hive.server2.use.SSL</ name > < value >false</ value > < description >Set this to true for using SSL encryption in HiveServer2.</ description > </ property > < property > < name >hive.server2.keystore.path</ name > < value /> < description >SSL certificate keystore location.</ description > </ property > < property > < name >hive.server2.keystore.password</ name > < value /> < description >SSL certificate keystore password.</ description > </ property > < property > < name >hive.server2.map.fair.scheduler.queue</ name > < value >true</ value > < description > If the YARN fair scheduler is configured and HiveServer2 is running in non-impersonation mode, this setting determines the user for fair scheduler queue mapping. If set to true (default), the logged-in user determines the fair scheduler queue for submitted jobs, so that map reduce resource usage can be tracked by user. If set to false, all Hive jobs go to the 'hive' user's queue. </ description > </ property > < property > < name >hive.server2.builtin.udf.whitelist</ name > < value /> < description > Comma separated list of builtin udf names allowed in queries. An empty whitelist allows all builtin udfs to be executed. The udf black list takes precedence over udf white list </ description > </ property > < property > < name >hive.server2.builtin.udf.blacklist</ name > < value /> < description >Comma separated list of udfs names. These udfs will not be allowed in queries. The udf black list takes precedence over udf white list</ description > </ property > < property > < name >hive.allow.udf.load.on.demand</ name > < value >false</ value > < description > Whether enable loading UDFs from metastore on demand; this is mostly relevant for HS2 and was the default behavior before Hive 1.2. Off by default. </ description > </ property > < property > < name >hive.server2.session.check.interval</ name > < value >6h</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. The time should be bigger than or equal to 3000 msec. The check interval for session/operation timeout, which can be disabled by setting to zero or negative value. </ description > </ property > < property > < name >hive.server2.close.session.on.disconnect</ name > < value >true</ value > < description >Session will be closed when connection is closed. Set this to false to have session outlive its parent connection.</ description > </ property > < property > < name >hive.server2.idle.session.timeout</ name > < value >7d</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Session will be closed when it's not accessed for this duration, which can be disabled by setting to zero or negative value. </ description > </ property > < property > < name >hive.server2.idle.operation.timeout</ name > < value >5d</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Operation will be closed when it's not accessed for this duration of time, which can be disabled by setting to zero value. With positive value, it's checked for operations in terminal state only (FINISHED, CANCELED, CLOSED, ERROR). With negative value, it's checked for all of the operations regardless of state. </ description > </ property > < property > < name >hive.server2.idle.session.check.operation</ name > < value >true</ value > < description > Session will be considered to be idle only if there is no activity, and there is no pending operation. This setting takes effect only if session idle timeout (hive.server2.idle.session.timeout) and checking (hive.server2.session.check.interval) are enabled. </ description > </ property > < property > < name >hive.server2.thrift.client.retry.limit</ name > < value >1</ value > < description >Number of retries upon failure of Thrift HiveServer2 calls</ description > </ property > < property > < name >hive.server2.thrift.client.connect.retry.limit</ name > < value >1</ value > < description >Number of retries while opening a connection to HiveServe2</ description > </ property > < property > < name >hive.server2.thrift.client.retry.delay.seconds</ name > < value >1s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Number of seconds for the HiveServer2 thrift client to wait between consecutive connection attempts. Also specifies the time to wait between retrying thrift calls upon failures </ description > </ property > < property > < name >hive.server2.thrift.client.user</ name > < value >anonymous</ value > < description >Username to use against thrift client</ description > </ property > < property > < name >hive.server2.thrift.client.password</ name > < value >anonymous</ value > < description >Password to use against thrift client</ description > </ property > < property > < name >hive.server2.thrift.resultset.serialize.in.tasks</ name > < value >false</ value > < description > Whether we should serialize the Thrift structures used in JDBC ResultSet RPC in task nodes. We use SequenceFile and ThriftJDBCBinarySerDe to read and write the final results if this is true. </ description > </ property > < property > < name >hive.server2.thrift.resultset.max.fetch.size</ name > < value >1000</ value > < description >Max number of rows sent in one Fetch RPC call by the server to the client.</ description > </ property > < property > < name >hive.server2.xsrf.filter.enabled</ name > < value >false</ value > < description >If enabled, HiveServer2 will block any requests made to it over http if an X-XSRF-HEADER header is not present</ description > </ property > < property > < name >hive.security.command.whitelist</ name > < value >set,reset,dfs,add,list,delete,reload,compile</ value > < description >Comma separated list of non-SQL Hive commands users are authorized to execute</ description > </ property > < property > < name >hive.mv.files.thread</ name > < value >15</ value > < description > Expects a byte size value with unit (blank for bytes, kb, mb, gb, tb, pb). The size should be in between 0Pb (inclusive) and 1Kb (inclusive). Number of threads used to move files in move task. Set it to 0 to disable multi-threaded file moves. This parameter is also used by MSCK to check tables. </ description > </ property > < property > < name >hive.multi.insert.move.tasks.share.dependencies</ name > < value >false</ value > < description > If this is set all move tasks for tables/partitions (not directories) at the end of a multi-insert query will only begin once the dependencies for all these move tasks have been met. Advantages: If concurrency is enabled, the locks will only be released once the query has finished, so with this config enabled, the time when the table/partition is generated will be much closer to when the lock on it is released. Disadvantages: If concurrency is not enabled, with this disabled, the tables/partitions which are produced by this query and finish earlier will be available for querying much earlier. Since the locks are only released once the query finishes, this does not apply if concurrency is enabled. </ description > </ property > < property > < name >hive.exec.infer.bucket.sort</ name > < value >false</ value > < description > If this is set, when writing partitions, the metadata will include the bucketing/sorting properties with which the data was written if any (this will not overwrite the metadata inherited from the table if the table is bucketed/sorted) </ description > </ property > < property > < name >hive.exec.infer.bucket.sort.num.buckets.power.two</ name > < value >false</ value > < description > If this is set, when setting the number of reducers for the map reduce task which writes the final output files, it will choose a number which is a power of two, unless the user specifies the number of reducers to use using mapred.reduce.tasks. The number of reducers may be set to a power of two, only to be followed by a merge task meaning preventing anything from being inferred. With hive.exec.infer.bucket.sort set to true: Advantages: If this is not set, the number of buckets for partitions will seem arbitrary, which means that the number of mappers used for optimized joins, for example, will be very low. With this set, since the number of buckets used for any partition is a power of two, the number of mappers used for optimized joins will be the least number of buckets used by any partition being joined. Disadvantages: This may mean a much larger or much smaller number of reducers being used in the final map reduce job, e.g. if a job was originally going to take 257 reducers, it will now take 512 reducers, similarly if the max number of reducers is 511, and a job was going to use this many, it will now use 256 reducers. </ description > </ property > < property > < name >hive.optimize.listbucketing</ name > < value >false</ value > < description >Enable list bucketing optimizer. Default value is false so that we disable it by default.</ description > </ property > < property > < name >hive.server.read.socket.timeout</ name > < value >10s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Timeout for the HiveServer to close the connection if no response from the client. By default, 10 seconds. </ description > </ property > < property > < name >hive.server.tcp.keepalive</ name > < value >true</ value > < description >Whether to enable TCP keepalive for the Hive Server. Keepalive will prevent accumulation of half-open connections.</ description > </ property > < property > < name >hive.decode.partition.name</ name > < value >false</ value > < description >Whether to show the unquoted partition names in query results.</ description > </ property > < property > < name >hive.execution.engine</ name > < value >mr</ value > < description > Expects one of [mr, tez, spark]. Chooses execution engine. Options are: mr (Map reduce, default), tez, spark. While MR remains the default engine for historical reasons, it is itself a historical engine and is deprecated in Hive 2 line. It may be removed without further warning. </ description > </ property > < property > < name >hive.execution.mode</ name > < value >container</ value > < description > Expects one of [container, llap]. Chooses whether query fragments will run in container or in llap </ description > </ property > < property > < name >hive.jar.directory</ name > < value /> < description > This is the location hive in tez mode will look for to find a site wide installed hive instance. </ description > </ property > < property > < name >hive.user.install.directory</ name > < value >/user/</ value > < description > If hive (in tez mode only) cannot find a usable hive jar in "hive.jar.directory", it will upload the hive jar to "hive.user.install.directory/user.name" and use it to run queries. </ description > </ property > < property > < name >hive.vectorized.execution.enabled</ name > < value >false</ value > < description > This flag should be set to true to enable vectorized mode of query execution. The default value is false. </ description > </ property > < property > < name >hive.vectorized.execution.reduce.enabled</ name > < value >true</ value > < description > This flag should be set to true to enable vectorized mode of the reduce-side of query execution. The default value is true. </ description > </ property > < property > < name >hive.vectorized.execution.reduce.groupby.enabled</ name > < value >true</ value > < description > This flag should be set to true to enable vectorized mode of the reduce-side GROUP BY query execution. The default value is true. </ description > </ property > < property > < name >hive.vectorized.execution.mapjoin.native.enabled</ name > < value >true</ value > < description > This flag should be set to true to enable native (i.e. non-pass through) vectorization of queries using MapJoin. The default value is true. </ description > </ property > < property > < name >hive.vectorized.execution.mapjoin.native.multikey.only.enabled</ name > < value >false</ value > < description > This flag should be set to true to restrict use of native vector map join hash tables to the MultiKey in queries using MapJoin. The default value is false. </ description > </ property > < property > < name >hive.vectorized.execution.mapjoin.minmax.enabled</ name > < value >false</ value > < description > This flag should be set to true to enable vector map join hash tables to use max / max filtering for integer join queries using MapJoin. The default value is false. </ description > </ property > < property > < name >hive.vectorized.execution.mapjoin.overflow.repeated.threshold</ name > < value >-1</ value > < description > The number of small table rows for a match in vector map join hash tables where we use the repeated field optimization in overflow vectorized row batch for join queries using MapJoin. A value of -1 means do use the join result optimization. Otherwise, threshold value can be 0 to maximum integer. </ description > </ property > < property > < name >hive.vectorized.execution.mapjoin.native.fast.hashtable.enabled</ name > < value >false</ value > < description > This flag should be set to true to enable use of native fast vector map join hash tables in queries using MapJoin. The default value is false. </ description > </ property > < property > < name >hive.vectorized.groupby.checkinterval</ name > < value >100000</ value > < description >Number of entries added to the group by aggregation hash before a recomputation of average entry size is performed.</ description > </ property > < property > < name >hive.vectorized.groupby.maxentries</ name > < value >1000000</ value > < description > Max number of entries in the vector group by aggregation hashtables. Exceeding this will trigger a flush irrelevant of memory pressure condition. </ description > </ property > < property > < name >hive.vectorized.groupby.flush.percent</ name > < value >0.1</ value > < description >Percent of entries in the group by aggregation hash flushed when the memory threshold is exceeded.</ description > </ property > < property > < name >hive.vectorized.execution.reducesink.new.enabled</ name > < value >true</ value > < description > This flag should be set to true to enable the new vectorization of queries using ReduceSink. iThe default value is true. </ description > </ property > < property > < name >hive.vectorized.use.vectorized.input.format</ name > < value >true</ value > < description > This flag should be set to true to enable vectorizing with vectorized input file format capable SerDe. The default value is true. </ description > </ property > < property > < name >hive.vectorized.use.vector.serde.deserialize</ name > < value >false</ value > < description > This flag should be set to true to enable vectorizing rows using vector deserialize. The default value is false. </ description > </ property > < property > < name >hive.vectorized.use.row.serde.deserialize</ name > < value >false</ value > < description > This flag should be set to true to enable vectorizing using row deserialize. The default value is false. </ description > </ property > < property > < name >hive.typecheck.on.insert</ name > < value >true</ value > < description >This property has been extended to control whether to check, convert, and normalize partition value to conform to its column type in partition operations including but not limited to insert, such as alter, describe etc.</ description > </ property > < property > < name >hive.hadoop.classpath</ name > < value /> < description > For Windows OS, we need to pass HIVE_HADOOP_CLASSPATH Java parameter while starting HiveServer2 using "-hiveconf hive.hadoop.classpath=%HIVE_LIB%". </ description > </ property > < property > < name >hive.rpc.query.plan</ name > < value >false</ value > < description >Whether to send the query plan via local resource or RPC</ description > </ property > < property > < name >hive.compute.splits.in.am</ name > < value >true</ value > < description >Whether to generate the splits locally or in the AM (tez only)</ description > </ property > < property > < name >hive.tez.input.generate.consistent.splits</ name > < value >true</ value > < description >Whether to generate consistent split locations when generating splits in the AM</ description > </ property > < property > < name >hive.prewarm.enabled</ name > < value >false</ value > < description >Enables container prewarm for Tez/Spark (Hadoop 2 only)</ description > </ property > < property > < name >hive.prewarm.numcontainers</ name > < value >10</ value > < description >Controls the number of containers to prewarm for Tez/Spark (Hadoop 2 only)</ description > </ property > < property > < name >hive.stageid.rearrange</ name > < value >none</ value > < description > Expects one of [none, idonly, traverse, execution]. </ description > </ property > < property > < name >hive.explain.dependency.append.tasktype</ name > < value >false</ value > < description /> </ property > < property > < name >hive.counters.group.name</ name > < value >HIVE</ value > < description >The name of counter group for internal Hive variables (CREATED_FILE, FATAL_ERROR, etc.)</ description > </ property > < property > < name >hive.support.quoted.identifiers</ name > < value >column</ value > < description > Expects one of [none, column]. Whether to use quoted identifier. 'none' or 'column' can be used. none: default(past) behavior. Implies only alphaNumeric and underscore are valid characters in identifiers. column: implies column names can contain any character. </ description > </ property > < property > < name >hive.support.sql11.reserved.keywords</ name > < value >true</ value > < description > This flag should be set to true to enable support for SQL2011 reserved keywords. The default value is true. </ description > </ property > < property > < name >hive.support.special.characters.tablename</ name > < value >true</ value > < description > This flag should be set to true to enable support for special characters in table names. When it is set to false, only [a-zA-Z_0-9]+ are supported. The only supported special character right now is '/'. This flag applies only to quoted table names. The default value is true. </ description > </ property > < property > < name >hive.users.in.admin.role</ name > < value /> < description > Comma separated list of users who are in admin role for bootstrapping. More users can be added in ADMIN role later. </ description > </ property > < property > < name >hive.compat</ name > < value >0.12</ value > < description > Enable (configurable) deprecated behaviors by setting desired level of backward compatibility. Setting to 0.12: Maintains division behavior: int / int = double </ description > </ property > < property > < name >hive.convert.join.bucket.mapjoin.tez</ name > < value >false</ value > < description > Whether joins can be automatically converted to bucket map joins in hive when tez is used as the execution engine. </ description > </ property > < property > < name >hive.exec.check.crossproducts</ name > < value >true</ value > < description >Check if a plan contains a Cross Product. If there is one, output a warning to the Session's console.</ description > </ property > < property > < name >hive.localize.resource.wait.interval</ name > < value >5000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Time to wait for another thread to localize the same resource for hive-tez. </ description > </ property > < property > < name >hive.localize.resource.num.wait.attempts</ name > < value >5</ value > < description >The number of attempts waiting for localizing a resource in hive-tez.</ description > </ property > < property > < name >hive.tez.auto.reducer.parallelism</ name > < value >false</ value > < description > Turn on Tez' auto reducer parallelism feature. When enabled, Hive will still estimate data sizes and set parallelism estimates. Tez will sample source vertices' output sizes and adjust the estimates at runtime as necessary. </ description > </ property > < property > < name >hive.tez.max.partition.factor</ name > < value >2.0</ value > < description >When auto reducer parallelism is enabled this factor will be used to over-partition data in shuffle edges.</ description > </ property > < property > < name >hive.tez.min.partition.factor</ name > < value >0.25</ value > < description > When auto reducer parallelism is enabled this factor will be used to put a lower limit to the number of reducers that tez specifies. </ description > </ property > < property > < name >hive.tez.bucket.pruning</ name > < value >false</ value > < description > When pruning is enabled, filters on bucket columns will be processed by filtering the splits against a bitset of included buckets. This needs predicates produced by hive.optimize.ppd and hive.optimize.index.filters. </ description > </ property > < property > < name >hive.tez.bucket.pruning.compat</ name > < value >true</ value > < description > When pruning is enabled, handle possibly broken inserts due to negative hashcodes. This occasionally doubles the data scan cost, but is default enabled for safety </ description > </ property > < property > < name >hive.tez.dynamic.partition.pruning</ name > < value >true</ value > < description > When dynamic pruning is enabled, joins on partition keys will be processed by sending events from the processing vertices to the Tez application master. These events will be used to prune unnecessary partitions. </ description > </ property > < property > < name >hive.tez.dynamic.partition.pruning.max.event.size</ name > < value >1048576</ value > < description >Maximum size of events sent by processors in dynamic pruning. If this size is crossed no pruning will take place.</ description > </ property > < property > < name >hive.tez.dynamic.partition.pruning.max.data.size</ name > < value >104857600</ value > < description >Maximum total data size of events in dynamic pruning.</ description > </ property > < property > < name >hive.tez.smb.number.waves</ name > < value >0.5</ value > < description >The number of waves in which to run the SMB join. Account for cluster being occupied. Ideally should be 1 wave.</ description > </ property > < property > < name >hive.tez.exec.print.summary</ name > < value >false</ value > < description >Display breakdown of execution steps, for every query executed by the shell.</ description > </ property > < property > < name >hive.tez.exec.inplace.progress</ name > < value >true</ value > < description >Updates tez job execution progress in-place in the terminal.</ description > </ property > < property > < name >hive.tez.container.max.java.heap.fraction</ name > < value >0.8</ value > < description >This is to override the tez setting with the same name</ description > </ property > < property > < name >hive.tez.task.scale.memory.reserve-fraction.min</ name > < value >0.3</ value > < description >This is to override the tez setting tez.task.scale.memory.reserve-fraction</ description > </ property > < property > < name >hive.tez.task.scale.memory.reserve.fraction.max</ name > < value >0.5</ value > < description >The maximum fraction of JVM memory which Tez will reserve for the processor</ description > </ property > < property > < name >hive.tez.task.scale.memory.reserve.fraction</ name > < value >-1.0</ value > < description >The customized fraction of JVM memory which Tez will reserve for the processor</ description > </ property > < property > < name >hive.llap.io.enabled</ name > < value /> < description >Whether the LLAP IO layer is enabled.</ description > </ property > < property > < name >hive.llap.io.memory.mode</ name > < value >cache</ value > < description > Expects one of [cache, none]. LLAP IO memory usage; 'cache' (the default) uses data and metadata cache with a custom off-heap allocator, 'none' doesn't use either (this mode may result in significant performance degradation) </ description > </ property > < property > < name >hive.llap.io.allocator.alloc.min</ name > < value >16Kb</ value > < description > Expects a byte size value with unit (blank for bytes, kb, mb, gb, tb, pb). Minimum allocation possible from LLAP buddy allocator. Allocations below that are padded to minimum allocation. For ORC, should generally be the same as the expected compression buffer size, or next lowest power of 2. Must be a power of 2. </ description > </ property > < property > < name >hive.llap.io.allocator.alloc.max</ name > < value >16Mb</ value > < description > Expects a byte size value with unit (blank for bytes, kb, mb, gb, tb, pb). Maximum allocation possible from LLAP buddy allocator. For ORC, should be as large as the largest expected ORC compression buffer size. Must be a power of 2. </ description > </ property > < property > < name >hive.llap.io.allocator.arena.count</ name > < value >8</ value > < description > Arena count for LLAP low-level cache; cache will be allocated in the steps of (size/arena_count) bytes. This size must be <= 1Gb and >= max allocation; if it is not the case, an adjusted size will be used. Using powers of 2 is recommended. </ description > </ property > < property > < name >hive.llap.io.memory.size</ name > < value >1Gb</ value > < description > Expects a byte size value with unit (blank for bytes, kb, mb, gb, tb, pb). Maximum size for IO allocator or ORC low-level cache. </ description > </ property > < property > < name >hive.llap.io.allocator.direct</ name > < value >true</ value > < description >Whether ORC low-level cache should use direct allocation.</ description > </ property > < property > < name >hive.llap.io.allocator.mmap</ name > < value >false</ value > < description > Whether ORC low-level cache should use memory mapped allocation (direct I/O). This is recommended to be used along-side NVDIMM (DAX) or NVMe flash storage. </ description > </ property > < property > < name >hive.llap.io.allocator.mmap.path</ name > < value >/tmp</ value > < description > Expects a writable directory on the local filesystem. The directory location for mapping NVDIMM/NVMe flash storage into the ORC low-level cache. </ description > </ property > < property > < name >hive.llap.io.use.lrfu</ name > < value >true</ value > < description >Whether ORC low-level cache should use LRFU cache policy instead of default (FIFO).</ description > </ property > < property > < name >hive.llap.io.lrfu.lambda</ name > < value >0.01</ value > < description > Lambda for ORC low-level cache LRFU cache policy. Must be in [0, 1]. 0 makes LRFU behave like LFU, 1 makes it behave like LRU, values in between balance accordingly. </ description > </ property > < property > < name >hive.llap.cache.allow.synthetic.fileid</ name > < value >false</ value > < description > Whether LLAP cache should use synthetic file ID if real one is not available. Systems like HDFS, Isilon, etc. provide a unique file/inode ID. On other FSes (e.g. local FS), the cache would not work by default because LLAP is unable to uniquely track the files; enabling this setting allows LLAP to generate file ID from the path, size and modification time, which is almost certain to identify file uniquely. However, if you use a FS without file IDs and rewrite files a lot (or are paranoid), you might want to avoid this setting. </ description > </ property > < property > < name >hive.llap.orc.gap.cache</ name > < value >true</ value > < description > Whether LLAP cache for ORC should remember gaps in ORC compression buffer read estimates, to avoid re-reading the data that was read once and discarded because it is unneeded. This is only necessary for ORC files written before HIVE-9660. </ description > </ property > < property > < name >hive.llap.io.use.fileid.path</ name > < value >true</ value > < description > Whether LLAP should use fileId (inode)-based path to ensure better consistency for the cases of file overwrites. This is supported on HDFS. </ description > </ property > < property > < name >hive.llap.io.orc.time.counters</ name > < value >true</ value > < description >Whether to enable time counters for LLAP IO layer (time spent in HDFS, etc.)</ description > </ property > < property > < name >hive.llap.auto.allow.uber</ name > < value >false</ value > < description >Whether or not to allow the planner to run vertices in the AM.</ description > </ property > < property > < name >hive.llap.auto.enforce.tree</ name > < value >true</ value > < description >Enforce that all parents are in llap, before considering vertex</ description > </ property > < property > < name >hive.llap.auto.enforce.vectorized</ name > < value >true</ value > < description >Enforce that inputs are vectorized, before considering vertex</ description > </ property > < property > < name >hive.llap.auto.enforce.stats</ name > < value >true</ value > < description >Enforce that col stats are available, before considering vertex</ description > </ property > < property > < name >hive.llap.auto.max.input.size</ name > < value >10737418240</ value > < description >Check input size, before considering vertex (-1 disables check)</ description > </ property > < property > < name >hive.llap.auto.max.output.size</ name > < value >1073741824</ value > < description >Check output size, before considering vertex (-1 disables check)</ description > </ property > < property > < name >hive.llap.skip.compile.udf.check</ name > < value >false</ value > < description > Whether to skip the compile-time check for non-built-in UDFs when deciding whether to execute tasks in LLAP. Skipping the check allows executing UDFs from pre-localized jars in LLAP; if the jars are not pre-localized, the UDFs will simply fail to load. </ description > </ property > < property > < name >hive.llap.allow.permanent.fns</ name > < value >true</ value > < description >Whether LLAP decider should allow permanent UDFs.</ description > </ property > < property > < name >hive.llap.execution.mode</ name > < value >none</ value > < description > Expects one of [auto, none, all, map]. Chooses whether query fragments will run in container or in llap </ description > </ property > < property > < name >hive.llap.object.cache.enabled</ name > < value >true</ value > < description >Cache objects (plans, hashtables, etc) in llap</ description > </ property > < property > < name >hive.llap.io.decoding.metrics.percentiles.intervals</ name > < value >30</ value > < description > Comma-delimited set of integers denoting the desired rollover intervals (in seconds) for percentile latency metrics on the LLAP daemon IO decoding time. hive.llap.queue.metrics.percentiles.intervals </ description > </ property > < property > < name >hive.llap.io.threadpool.size</ name > < value >10</ value > < description >Specify the number of threads to use for low-level IO thread pool.</ description > </ property > < property > < name >hive.llap.daemon.service.principal</ name > < value /> < description >The name of the LLAP daemon's service principal.</ description > </ property > < property > < name >hive.llap.daemon.keytab.file</ name > < value /> < description >The path to the Kerberos Keytab file containing the LLAP daemon's service principal.</ description > </ property > < property > < name >hive.llap.zk.sm.principal</ name > < value /> < description >The name of the principal to use to talk to ZooKeeper for ZooKeeper SecretManager.</ description > </ property > < property > < name >hive.llap.zk.sm.keytab.file</ name > < value /> < description > The path to the Kerberos Keytab file containing the principal to use to talk to ZooKeeper for ZooKeeper SecretManager. </ description > </ property > < property > < name >hive.llap.zk.sm.connectionString</ name > < value /> < description >ZooKeeper connection string for ZooKeeper SecretManager.</ description > </ property > < property > < name >hive.llap.zk.registry.user</ name > < value /> < description > In the LLAP ZooKeeper-based registry, specifies the username in the Zookeeper path. This should be the hive user or whichever user is running the LLAP daemon. </ description > </ property > < property > < name >hive.llap.zk.registry.namespace</ name > < value /> < description > In the LLAP ZooKeeper-based registry, overrides the ZK path namespace. Note that using this makes the path management (e.g. setting correct ACLs) your responsibility. </ description > </ property > < property > < name >hive.llap.daemon.acl</ name > < value >*</ value > < description >The ACL for LLAP daemon.</ description > </ property > < property > < name >hive.llap.daemon.acl.blocked</ name > < value /> < description >The deny ACL for LLAP daemon.</ description > </ property > < property > < name >hive.llap.management.acl</ name > < value >*</ value > < description >The ACL for LLAP daemon management.</ description > </ property > < property > < name >hive.llap.management.acl.blocked</ name > < value /> < description >The deny ACL for LLAP daemon management.</ description > </ property > < property > < name >hive.llap.remote.token.requires.signing</ name > < value >true</ value > < description > Expects one of [false, except_llap_owner, true]. Whether the token returned from LLAP management API should require fragment signing. True by default; can be disabled to allow CLI to get tokens from LLAP in a secure cluster by setting it to true or 'except_llap_owner' (the latter returns such tokens to everyone except the user LLAP cluster is authenticating under). </ description > </ property > < property > < name >hive.llap.daemon.delegation.token.lifetime</ name > < value >14d</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. LLAP delegation token lifetime, in seconds if specified without a unit. </ description > </ property > < property > < name >hive.llap.management.rpc.port</ name > < value >15004</ value > < description >RPC port for LLAP daemon management service.</ description > </ property > < property > < name >hive.llap.auto.auth</ name > < value >false</ value > < description >Whether or not to set Hadoop configs to enable auth in LLAP web app.</ description > </ property > < property > < name >hive.llap.daemon.rpc.num.handlers</ name > < value >5</ value > < description >Number of RPC handlers for LLAP daemon.</ description > </ property > < property > < name >hive.llap.daemon.work.dirs</ name > < value /> < description > Working directories for the daemon. Needs to be set for a secure cluster, since LLAP may not have access to the default YARN working directories. yarn.nodemanager.local-dirs is used if this is not set </ description > </ property > < property > < name >hive.llap.daemon.yarn.shuffle.port</ name > < value >15551</ value > < description >YARN shuffle port for LLAP-daemon-hosted shuffle.</ description > </ property > < property > < name >hive.llap.daemon.yarn.container.mb</ name > < value >-1</ value > < description >llap server yarn container size in MB. Used in LlapServiceDriver and package.py</ description > </ property > < property > < name >hive.llap.daemon.queue.name</ name > < value /> < description >Queue name within which the llap slider application will run. Used in LlapServiceDriver and package.py</ description > </ property > < property > < name >hive.llap.daemon.container.id</ name > < value /> < description >ContainerId of a running LlapDaemon. Used to publish to the registry</ description > </ property > < property > < name >hive.llap.daemon.shuffle.dir.watcher.enabled</ name > < value >false</ value > < description >TODO doc</ description > </ property > < property > < name >hive.llap.daemon.am.liveness.heartbeat.interval.ms</ name > < value >10000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Tez AM-LLAP heartbeat interval (milliseconds). This needs to be below the task timeout interval, but otherwise as high as possible to avoid unnecessary traffic. </ description > </ property > < property > < name >hive.llap.am.liveness.connection.timeout.ms</ name > < value >10000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Amount of time to wait on connection failures to the AM from an LLAP daemon before considering the AM to be dead. </ description > </ property > < property > < name >hive.llap.am.liveness.connection.sleep.between.retries.ms</ name > < value >2000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Sleep duration while waiting to retry connection failures to the AM from the daemon for the general keep-alive thread (milliseconds). </ description > </ property > < property > < name >hive.llap.task.scheduler.timeout.seconds</ name > < value >60s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Amount of time to wait before failing the query when there are no llap daemons running (alive) in the cluster. </ description > </ property > < property > < name >hive.llap.daemon.num.executors</ name > < value >4</ value > < description > Number of executors to use in LLAP daemon; essentially, the number of tasks that can be executed in parallel. </ description > </ property > < property > < name >hive.llap.daemon.rpc.port</ name > < value >15001</ value > < description >The LLAP daemon RPC port.</ description > </ property > < property > < name >hive.llap.daemon.memory.per.instance.mb</ name > < value >4096</ value > < description >The total amount of memory to use for the executors inside LLAP (in megabytes).</ description > </ property > < property > < name >hive.llap.daemon.vcpus.per.instance</ name > < value >4</ value > < description >The total number of vcpus to use for the executors inside LLAP.</ description > </ property > < property > < name >hive.llap.daemon.num.file.cleaner.threads</ name > < value >1</ value > < description >Number of file cleaner threads in LLAP.</ description > </ property > < property > < name >hive.llap.file.cleanup.delay.seconds</ name > < value >300s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. How long to delay before cleaning up query files in LLAP (in seconds, for debugging). </ description > </ property > < property > < name >hive.llap.daemon.service.hosts</ name > < value /> < description > Explicitly specified hosts to use for LLAP scheduling. Useful for testing. By default, YARN registry is used. </ description > </ property > < property > < name >hive.llap.daemon.service.refresh.interval.sec</ name > < value >60s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. LLAP YARN registry service list refresh delay, in seconds. </ description > </ property > < property > < name >hive.llap.daemon.communicator.num.threads</ name > < value >10</ value > < description >Number of threads to use in LLAP task communicator in Tez AM.</ description > </ property > < property > < name >hive.llap.daemon.download.permanent.fns</ name > < value >false</ value > < description >Whether LLAP daemon should localize the resources for permanent UDFs.</ description > </ property > < property > < name >hive.llap.task.scheduler.node.reenable.min.timeout.ms</ name > < value >200ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Minimum time after which a previously disabled node will be re-enabled for scheduling, in milliseconds. This may be modified by an exponential back-off if failures persist. </ description > </ property > < property > < name >hive.llap.task.scheduler.node.reenable.max.timeout.ms</ name > < value >10000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Maximum time after which a previously disabled node will be re-enabled for scheduling, in milliseconds. This may be modified by an exponential back-off if failures persist. </ description > </ property > < property > < name >hive.llap.task.scheduler.node.disable.backoff.factor</ name > < value >1.5</ value > < description > Backoff factor on successive blacklists of a node due to some failures. Blacklist times start at the min timeout and go up to the max timeout based on this backoff factor. </ description > </ property > < property > < name >hive.llap.task.scheduler.num.schedulable.tasks.per.node</ name > < value >0</ value > < description > The number of tasks the AM TaskScheduler will try allocating per node. 0 indicates that this should be picked up from the Registry. -1 indicates unlimited capacity; positive values indicate a specific bound. </ description > </ property > < property > < name >hive.llap.task.scheduler.locality.delay</ name > < value >0ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. The time should be in between -1 msec (inclusive) and 9223372036854775807 msec (inclusive). Amount of time to wait before allocating a request which contains location information, to a location other than the ones requested. Set to -1 for an infinite delay, 0for no delay. </ description > </ property > < property > < name >hive.llap.daemon.task.preemption.metrics.intervals</ name > < value >30,60,300</ value > < description > Comma-delimited set of integers denoting the desired rollover intervals (in seconds) for percentile latency metrics. Used by LLAP daemon task scheduler metrics for time taken to kill task (due to pre-emption) and useful time wasted by the task that is about to be preempted. </ description > </ property > < property > < name >hive.llap.daemon.task.scheduler.wait.queue.size</ name > < value >10</ value > < description >LLAP scheduler maximum queue size.</ description > </ property > < property > < name >hive.llap.daemon.wait.queue.comparator.class.name</ name > < value >org.apache.hadoop.hive.llap.daemon.impl.comparator.ShortestJobFirstComparator</ value > < description > The priority comparator to use for LLAP scheduler prioroty queue. The built-in options are org.apache.hadoop.hive.llap.daemon.impl.comparator.ShortestJobFirstComparator and .....FirstInFirstOutComparator </ description > </ property > < property > < name >hive.llap.daemon.task.scheduler.enable.preemption</ name > < value >true</ value > < description > Whether non-finishable running tasks (e.g. a reducer waiting for inputs) should be preempted by finishable tasks inside LLAP scheduler. </ description > </ property > < property > < name >hive.llap.task.communicator.connection.timeout.ms</ name > < value >16000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Connection timeout (in milliseconds) before a failure to an LLAP daemon from Tez AM. </ description > </ property > < property > < name >hive.llap.task.communicator.connection.sleep.between.retries.ms</ name > < value >2000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Sleep duration (in milliseconds) to wait before retrying on error when obtaining a connection to LLAP daemon from Tez AM. </ description > </ property > < property > < name >hive.llap.daemon.web.port</ name > < value >15002</ value > < description >LLAP daemon web UI port.</ description > </ property > < property > < name >hive.llap.daemon.web.ssl</ name > < value >false</ value > < description >Whether LLAP daemon web UI should use SSL.</ description > </ property > < property > < name >hive.llap.client.consistent.splits</ name > < value >false</ value > < description >Whether to setup split locations to match nodes on which llap daemons are running, instead of using the locations provided by the split itself</ description > </ property > < property > < name >hive.llap.validate.acls</ name > < value >true</ value > < description > Whether LLAP should reject permissive ACLs in some cases (e.g. its own management protocol or ZK paths), similar to how ssh refuses a key with bad access permissions. </ description > </ property > < property > < name >hive.llap.daemon.output.service.port</ name > < value >15003</ value > < description >LLAP daemon output service port</ description > </ property > < property > < name >hive.llap.daemon.output.service.send.buffer.size</ name > < value >131072</ value > < description >Send buffer size to be used by LLAP daemon output service</ description > </ property > < property > < name >hive.llap.enable.grace.join.in.llap</ name > < value >false</ value > < description >Override if grace join should be allowed to run in llap.</ description > </ property > < property > < name >hive.spark.client.future.timeout</ name > < value >60s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Timeout for requests from Hive client to remote Spark driver. </ description > </ property > < property > < name >hive.spark.job.monitor.timeout</ name > < value >60s</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is sec if not specified. Timeout for job monitor to get Spark job state. </ description > </ property > < property > < name >hive.spark.client.connect.timeout</ name > < value >1000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Timeout for remote Spark driver in connecting back to Hive client. </ description > </ property > < property > < name >hive.spark.client.server.connect.timeout</ name > < value >90000ms</ value > < description > Expects a time value with unit (d/day, h/hour, m/min, s/sec, ms/msec, us/usec, ns/nsec), which is msec if not specified. Timeout for handshake between Hive client and remote Spark driver. Checked by both processes. </ description > </ property > < property > < name >hive.spark.client.secret.bits</ name > < value >256</ value > < description >Number of bits of randomness in the generated secret for communication between Hive client and remote Spark driver. Rounded down to the nearest multiple of 8.</ description > </ property > < property > < name >hive.spark.client.rpc.threads</ name > < value >8</ value > < description >Maximum number of threads for remote Spark driver's RPC event loop.</ description > </ property > < property > < name >hive.spark.client.rpc.max.size</ name > < value >52428800</ value > < description >Maximum message size in bytes for communication between Hive client and remote Spark driver. Default is 50MB.</ description > </ property > < property > < name >hive.spark.client.channel.log.level</ name > < value /> < description >Channel logging level for remote Spark driver. One of {DEBUG, ERROR, INFO, TRACE, WARN}.</ description > </ property > < property > < name >hive.spark.client.rpc.sasl.mechanisms</ name > < value >DIGEST-MD5</ value > < description >Name of the SASL mechanism to use for authentication.</ description > </ property > < property > < name >hive.spark.client.rpc.server.address</ name > < value /> < description >The server address of HiverServer2 host to be used for communication between Hive client and remote Spark driver. Default is empty, which means the address will be determined in the same way as for hive.server2.thrift.bind.host.This is only necessary if the host has mutiple network addresses and if a different network address other than hive.server2.thrift.bind.host is to be used.</ description > </ property > < property > < name >hive.spark.dynamic.partition.pruning</ name > < value >false</ value > < description > When dynamic pruning is enabled, joins on partition keys will be processed by writing to a temporary HDFS file, and read later for removing unnecessary partitions. </ description > </ property > < property > < name >hive.spark.dynamic.partition.pruning.max.data.size</ name > < value >104857600</ value > < description >Maximum total data size in dynamic pruning.</ description > </ property > < property > < name >hive.reorder.nway.joins</ name > < value >true</ value > < description >Runs reordering of tables within single n-way join (i.e.: picks streamtable)</ description > </ property > < property > < name >hive.log.every.n.records</ name > < value >0</ value > < description > Expects value bigger than 0. If value is greater than 0 logs in fixed intervals of size n rather than exponentially. </ description > </ property > < property > < name >hive.msck.path.validation</ name > < value >throw</ value > < description > Expects one of [throw, skip, ignore]. The approach msck should take with HDFS directories that are partition-like but contain unsupported characters. 'throw' (an exception) is the default; 'skip' will skip the invalid directories and still repair the others; 'ignore' will skip the validation (legacy behavior, causes bugs in many cases) </ description > </ property > < property > < name >hive.server2.llap.concurrent.queries</ name > < value >-1</ value > < description >The number of queries allowed in parallel via llap. Negative number implies 'infinite'.</ description > </ property > < property > < name >hive.tez.enable.memory.manager</ name > < value >true</ value > < description >Enable memory manager for tez</ description > </ property > < property > < name >hive.hash.table.inflation.factor</ name > < value >2.0</ value > < description >Expected inflation factor between disk/in memory representation of hash tables</ description > </ property > < property > < name >hive.log.trace.id</ name > < value /> < description >Log tracing id that can be used by upstream clients for tracking respective logs. Truncated to 64 characters. Defaults to use auto-generated session id.</ description > </ property > < property > < name >hive.conf.restricted.list</ name > < value >hive.security.authenticator.manager,hive.security.authorization.manager,hive.users.in.admin.role,hive.server2.xsrf.filter.enabled</ value > < description >Comma separated list of configuration options which are immutable at runtime</ description > </ property > < property > < name >hive.conf.hidden.list</ name > < value >javax.jdo.option.ConnectionPassword,hive.server2.keystore.password</ value > < description >Comma separated list of configuration options which should not be read by normal user like passwords</ description > </ property > < property > < name >hive.conf.internal.variable.list</ name > < value >hive.added.files.path,hive.added.jars.path,hive.added.archives.path</ value > < description >Comma separated list of variables which are used internally and should not be configurable.</ description > </ property > </ configuration > |
分类:
06.hive
【推荐】国内首个AI IDE,深度理解中文开发场景,立即下载体验Trae
【推荐】编程新体验,更懂你的AI,立即体验豆包MarsCode编程助手
【推荐】抖音旗下AI助手豆包,你的智能百科全书,全免费不限次数
【推荐】轻量又高性能的 SSH 工具 IShell:AI 加持,快人一步
· Linux系列:如何用heaptrack跟踪.NET程序的非托管内存泄露
· 开发者必知的日志记录最佳实践
· SQL Server 2025 AI相关能力初探
· Linux系列:如何用 C#调用 C方法造成内存泄露
· AI与.NET技术实操系列(二):开始使用ML.NET
· 无需6万激活码!GitHub神秘组织3小时极速复刻Manus,手把手教你使用OpenManus搭建本
· C#/.NET/.NET Core优秀项目和框架2025年2月简报
· 一文读懂知识蒸馏
· Manus爆火,是硬核还是营销?
· 终于写完轮子一部分:tcp代理 了,记录一下