Ver código fonte

HUE-2722 [beeswax] Revert default Thrift version to 5 instead of 7

Working around HUE-2722 for now:
[hive] against Hive 0.14 CSV/XLS truncated downloads
https://issues.cloudera.org/browse/HUE-2722
Romain Rigaux 10 anos atrás
pai
commit
9a8360e

+ 1 - 1
apps/beeswax/src/beeswax/conf.py

@@ -92,7 +92,7 @@ THRIFT_VERSION = Config(
   key="thrift_version",
   help=_t("Thrift version to use when communicating with HiveServer2."),
   type=int,
-  default=7
+  default=5
 )
 
 

+ 1 - 1
desktop/conf.dist/hue.ini

@@ -846,7 +846,7 @@
 
   # Thrift version to use when communicating with HiveServer2.
   # New column format is from version 7.
-  ## thrift_version=7
+  ## thrift_version=5
 
   [[ssl]]
     # Path to Certificate Authority certificates.

+ 1 - 1
desktop/conf/pseudo-distributed.ini.tmpl

@@ -853,7 +853,7 @@
 
   # Thrift version to use when communicating with HiveServer2.
   # New column format is from version 7.
-  ## thrift_version=7
+  ## thrift_version=5
 
   [[ssl]]
     # Path to Certificate Authority certificates.