0

im install ambari then install hive,but when i use it,like this:

0: jdbc:hive2://master.ambari:2181,slave1.amb> 

The correct display should be

hive>

and other err

0: jdbc:hive2://master.ambari:2181,slave1.amb> select 1,2,3;
+------+------+------+
| _c0  | _c1  | _c2  |
+------+------+------+
| 1    | 2    | 3    |
+------+------+------+
1 row selected (0.221 seconds)

The correct display should be

hive>select 1,2,3;
1   2   3

How do we deal with this problem?

OneCricketeer
  • 179,855
  • 19
  • 132
  • 245
William
  • 1
  • 2

1 Answers1

0

The correct display should be

No, beeline should be used instead of hive command, and will result in the full connection URI displayed.

If you want to turn the frames off, then you can use

>!set showheader false;
>select 1,2,3; 
OneCricketeer
  • 179,855
  • 19
  • 132
  • 245