[jira] [Created] (HIVE-13425) Fix partition addition in MSCK REPAIR TABLE command

2016-04-05 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-13425:
-

 Summary: Fix partition addition in MSCK REPAIR TABLE command
 Key: HIVE-13425
 URL: https://issues.apache.org/jira/browse/HIVE-13425
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 2.0.0
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita
Priority: Minor


I create a table in following HiveQL.
{code}
hive> create table example (name string) partitioned by (id int);
{code}

And, I make some directories about this table in HDFS.
{code}
[root@hadoop ~]# hdfs dfs -ls -R /user/hive/warehouse/example
drwxr-xr-x   - root hadoop  0 2016-04-05 22:21 
/user/hive/warehouse/example/id=1
drwxr-xr-x   - root hadoop  0 2016-04-05 22:22 
/user/hive/warehouse/example/id=1/id=2
-rw-r--r--   1 root hadoop  8 2016-04-05 22:22 
/user/hive/warehouse/example/id=1/id=2/example.txt
{code}

Next I executed MSCK REPAIR TABLE command and added a partition. And this 
result became as follows.

{code}
[root@hadoop ~]# hive -e 'msck repair table example'
OK
Partitions not in metastore:example:id=1/id=2
Repair: Added partition to metastore example:id=1/id=2
Time taken: 1.243 seconds, Fetched: 2 row(s)
[root@hadoop ~]# hive -e 'show partitions example'
OK
id=2
{code}

"id=1" should be a partition, but "id=2" was added. I will fix this problem.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-13416) Fix the output of msck repair table command in Beeline

2016-04-04 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-13416:
-

 Summary: Fix the output of msck repair table command in Beeline
 Key: HIVE-13416
 URL: https://issues.apache.org/jira/browse/HIVE-13416
 Project: Hive
  Issue Type: Bug
  Components: Beeline
Affects Versions: 2.0.0
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita


When execute msck repair table command in hive cli, we can confirm it as 
follows.

{code}
hive> msck repair table sample;
OK
Partitions not in metastore:sample:name=aaa
Repair: Added partition to metastore sample:name=aaa
Time taken: 0.754 seconds, Fetched: 2 row(s)
{code}

But these information isn't output in beeline.

I will be modified to display the results of msck repair table command in 
beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-13177) Remove confirmation of standalone hive-jdbc jar in beeline

2016-02-27 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-13177:
-

 Summary: Remove confirmation of standalone hive-jdbc jar in beeline
 Key: HIVE-13177
 URL: https://issues.apache.org/jira/browse/HIVE-13177
 Project: Hive
  Issue Type: Bug
  Components: Beeline
Affects Versions: 2.1.0
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita
Priority: Minor


In the current master (after HIVE-13134), when I executed beeline command, 
following messages was displayed.

{code}
[root@hadoop ~]# beeline
which: no hbase in 
(/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/hadoop/bin:/usr/local/hive/bin:/usr/pgsql-9.4/bin:/root/bin)
ls: cannot access /usr/local/hive/lib/hive-jdbc-*-standalone.jar: No such file 
or directory
Beeline version 2.1.0-SNAPSHOT by Apache Hive
{code}

hive-jdbc-*-standalone.jar has moved from ${HIVE_HOME}/lib to 
${HIVE_HOME}/jdbc. And this file isn't necessary to execution of beeline.
So, I will remove confirmation of this file in beeline.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-13145) Separate the output path of metrics file of HS2 and HMS

2016-02-24 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-13145:
-

 Summary: Separate the output path of metrics file of HS2 and HMS
 Key: HIVE-13145
 URL: https://issues.apache.org/jira/browse/HIVE-13145
 Project: Hive
  Issue Type: Improvement
  Components: HiveServer2, Metastore
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita


The output path of  metrics file of HS2 and HMS can define by 
{{hive.service.metrics.file.location}} property at present.
When it starts HS2 and HMS by the same server, both metrics is written in the 
same file. And when confirming this file, it is difficult to judge which 
metrics it is.

Therefore the output path of metrics file of HS2 and HMS is separated.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-13106) STARTUP_MSG and SHUTDOWN_MSG are added to HiveMetaStore

2016-02-19 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-13106:
-

 Summary: STARTUP_MSG and SHUTDOWN_MSG are added to HiveMetaStore
 Key: HIVE-13106
 URL: https://issues.apache.org/jira/browse/HIVE-13106
 Project: Hive
  Issue Type: Improvement
  Components: Metastore
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita
Priority: Trivial


When we use Hive remote metastore, STARTUP_MSG and SHUTDOWN_MSG are output in 
metastore log like HiveServer2.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-13074) NPE with HS2 Web UI when SQLOperationDisplay is null

2016-02-17 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-13074:
-

 Summary: NPE with HS2 Web UI when SQLOperationDisplay is null
 Key: HIVE-13074
 URL: https://issues.apache.org/jira/browse/HIVE-13074
 Project: Hive
  Issue Type: Bug
  Components: HiveServer2
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita


In current master, I executed the following command,

{code}
0: jdbc:hive2://XXX:1/> set hive.execution.engine;
{code}

Next, I accessed Web page of HS2. And the following messages were displayed.

{code}
HTTP ERROR 500

Problem accessing /hiveserver2.jsp. Reason:

Server Error

Caused by:

java.lang.NullPointerException
at 
org.apache.hive.generated.hiveserver2.hiveserver2_jsp._jspService(hiveserver2_jsp.java:131)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:98)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:565)
at 
org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:479)
(snip)
{code}

I think {{SQLOperationDisplay}} needs the handle when being null.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-13058) Add session and operation_log directory deletion messages

2016-02-13 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-13058:
-

 Summary: Add session and operation_log directory deletion messages
 Key: HIVE-13058
 URL: https://issues.apache.org/jira/browse/HIVE-13058
 Project: Hive
  Issue Type: Improvement
  Components: HiveServer2
Reporter: Shinichi Yamashita
Assignee: Vaibhav Gumashta
Priority: Minor


In the current master, when connecting to HS2, we can confirm that some 
directories were created. For example the following messages of HS2 log.

{code}
2016-02-14T13:57:52,412 INFO  [HiveServer2-Handler-Pool: Thread-607]: 
session.SessionState (SessionState.java:createPath(693)) - Created HDFS 
directory: /tmp/hive/root/bfe28a51-5804-4cbb-952c-26709aed4652
2016-02-14T13:57:52,416 INFO  [HiveServer2-Handler-Pool: Thread-607]: 
session.SessionState (SessionState.java:createPath(693)) - Created local 
directory: /tmp/hive/bfe28a51-5804-4cbb-952c-26709aed4652
2016-02-14T13:57:52,419 INFO  [HiveServer2-Handler-Pool: Thread-607]: 
session.SessionState (SessionState.java:createPath(693)) - Created HDFS 
directory: /tmp/hive/root/bfe28a51-5804-4cbb-952c-26709aed4652/_tmp_space.db
2016-02-14T13:57:52,421 INFO  [HiveServer2-Handler-Pool: Thread-607]: 
session.HiveSessionImpl (HiveSessionImpl.java:setOperationLogSessionDir(287)) - 
Operation log session directory is created: 
/tmp/hive/operation_logs/bfe28a51-5804-4cbb-952c-26709aed4652
{code}

But when closing from HS2, we cannot confirm that these directories were 
deleted. So I change it so that some messages about these directories deletion 
may be output as follows.

{code}
2016-02-14T13:57:56,877 INFO  
[bfe28a51-5804-4cbb-952c-26709aed4652bfe28a51-5804-4cbb-952c-26709aed4652HiveServer2-Handler-Pool:
 Thread-607]: session.HiveSessionImpl 
(HiveSessionImpl.java:cleanupSessionLogDir(690)) - Operation log session 
directory is deleted: 
/tmp/hive/operation_logs/bfe28a51-5804-4cbb-952c-26709aed4652
2016-02-14T13:57:56,890 INFO  
[bfe28a51-5804-4cbb-952c-26709aed4652bfe28a51-5804-4cbb-952c-26709aed4652HiveServer2-Handler-Pool:
 Thread-607]: session.SessionState (SessionState.java:dropSessionPaths(750)) - 
Deleted HDFS directory: /tmp/hive/root/bfe28a51-5804-4cbb-952c-26709aed4652
2016-02-14T13:57:56,891 INFO  
[bfe28a51-5804-4cbb-952c-26709aed4652bfe28a51-5804-4cbb-952c-26709aed4652HiveServer2-Handler-Pool:
 Thread-607]: session.SessionState (SessionState.java:dropSessionPaths(754)) - 
Deleted local directory: /tmp/hive/bfe28a51-5804-4cbb-952c-26709aed4652
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-12970) Add total open connections in HiveServer2

2016-01-30 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-12970:
-

 Summary: Add total open connections in HiveServer2
 Key: HIVE-12970
 URL: https://issues.apache.org/jira/browse/HIVE-12970
 Project: Hive
  Issue Type: Improvement
  Components: Diagnosability
Reporter: Shinichi Yamashita
Priority: Minor


I add the metrics to HiveServer2 in order to confirm the change per unit time. 
I will be able to use the information at the time of monitoring.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-12920) LLAP fails to start with java.lang.NumberFormatException

2016-01-25 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-12920:
-

 Summary: LLAP fails to start with java.lang.NumberFormatException
 Key: HIVE-12920
 URL: https://issues.apache.org/jira/browse/HIVE-12920
 Project: Hive
  Issue Type: Bug
  Components: llap
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita
Priority: Minor
 Attachments: HIVE-12920.1.patch

In current master, I executed llap command and I confirmed following message.

{code}
[root@hadoop ~]# /usr/local/hive/bin/hive --service llap -i 1
(snip)
Failed: For input string: "1Gb"
java.lang.NumberFormatException: For input string: "1Gb"
at 
java.lang.NumberFormatException.forInputString(NumberFormatException.java:65)
at java.lang.Long.parseLong(Long.java:589)
at java.lang.Long.parseLong(Long.java:631)
at org.apache.hadoop.conf.Configuration.getLong(Configuration.java:1311)
at org.apache.hadoop.hive.conf.HiveConf.getLongVar(HiveConf.java:3065)
at 
org.apache.hadoop.hive.llap.cli.LlapServiceDriver.run(LlapServiceDriver.java:282)
at 
org.apache.hadoop.hive.llap.cli.LlapServiceDriver.main(LlapServiceDriver.java:71)
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-12862) Fix pom.xml to package JSP of HS2.

2016-01-13 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-12862:
-

 Summary: Fix pom.xml to package JSP of HS2.
 Key: HIVE-12862
 URL: https://issues.apache.org/jira/browse/HIVE-12862
 Project: Hive
  Issue Type: Bug
  Components: HiveServer2
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita
 Attachments: HIVE-12862.1.patch

In current master, we can confirm 404 HTTP status code when we access Web UI of 
HS2.

* Web browser
{code}
HTTP ERROR 404

Problem accessing /hiveserver2.jsp. Reason:

Servlet Not Initialized

Caused by:
javax.servlet.UnavailableException: Servlet Not Initialized
at 
org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:536)
(snip)
{code}

* log file
{code}
2016-01-13T22:26:03,787 WARN  [main]: servlet.Holder (Holder.java:doStart(90)) 
- 
java.lang.ClassNotFoundException: 
org.apache.hive.generated.hiveserver2.hiveserver2_jsp
at java.net.URLClassLoader.findClass(URLClassLoader.java:381) 
~[?:1.8.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:424) ~[?:1.8.0_65]
at java.lang.ClassLoader.loadClass(ClassLoader.java:357) ~[?:1.8.0_65]
at 
org.eclipse.jetty.webapp.WebAppClassLoader.loadClass(WebAppClassLoader.java:424)
 ~[jetty-all-7.6.0.v20120127.jar:7.6.0.v20120127]
   (snip)
{code}

When service and service-rpc were separated, handling of about the build 
hiveserver2.jsp is deleted.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-12834) Fix to accept the arrow keys in BeeLine CLI

2016-01-09 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-12834:
-

 Summary: Fix to accept the arrow keys in BeeLine CLI
 Key: HIVE-12834
 URL: https://issues.apache.org/jira/browse/HIVE-12834
 Project: Hive
  Issue Type: Bug
  Components: Beeline
 Environment: CentOS 6.7
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita


BeeLine in the master doesn't accept the arrow keys as follows (e.g. ^[[A is up 
arrow key).

{code}
[root@hadoop ~]# beeline
which: no hbase in 
(/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/hadoop/bin:/usr/local/hive/bin:/usr/pgsql-9.4/bin:/root/bin)
Beeline version 2.1.0-SNAPSHOT by Apache Hive
beeline> ^[[A^[[B^[[C^[[D
{code}

Because UnsupportedTerminal is set in the same way as background. we can check 
with the ps command.

{code}
[root@hadoop ~]# ps -ef | grep beeline
root   5799   1433  1 12:05 pts/000:00:02 /usr/lib/jvm/java/bin/java 
-Xmx256m (snip) -Djline.terminal=jline.UnsupportedTerminal (snip) 
org.apache.hive.beeline.BeeLine
{code}

I think the HIVE-6758 affected this behavior. I will fix to accept the arrow 
keys.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-12789) Fix output twice in the history command of Beeline

2016-01-06 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-12789:
-

 Summary: Fix output twice in the history command of Beeline
 Key: HIVE-12789
 URL: https://issues.apache.org/jira/browse/HIVE-12789
 Project: Hive
  Issue Type: Bug
  Components: Beeline
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita


When I revised HIVE-12780, I confirmed that a result of history output it twice.

{quote}
[root@hadoop ~]# cat ~/.beeline/history
select 1;
select 2;
select 3;
[root@hadoop ~]# beeline
which: no hbase in 
(/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin:/usr/local/hadoop/bin:/usr/local/hive/bin:/usr/pgsql-9.4/bin:/root/bin)
Beeline version 2.1.0-SNAPSHOT by Apache Hive
beeline> !history
1.0: select 1;
1.1: select 2;
1.2: select 3;
1.3: select 1;
1.4: select 2;
1.5: select 3;
{quote}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-12780) Fix the output of the history command in Beeline

2016-01-05 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-12780:
-

 Summary: Fix the output of the history command in Beeline
 Key: HIVE-12780
 URL: https://issues.apache.org/jira/browse/HIVE-12780
 Project: Hive
  Issue Type: Bug
  Components: Beeline
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita
Priority: Minor


I executed !history command in beeline. And the following results displayed.

{code}
Beeline version 2.1.0-SNAPSHOT by Apache Hive
beeline> !history
1.0: select
1.1: select
1.2: select
1.3: select
{code}

As a result, "1." is not necessary to output. I will change the output, such as 
the following.

{code}
Beeline version 2.1.0-SNAPSHOT by Apache Hive
beeline> !history
0: select
1: select
2: select
3: select
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-12761) Add stack trace servlet to HS2 web ui

2015-12-30 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-12761:
-

 Summary: Add stack trace servlet to HS2 web ui
 Key: HIVE-12761
 URL: https://issues.apache.org/jira/browse/HIVE-12761
 Project: Hive
  Issue Type: Improvement
  Components: HiveServer2
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita
Priority: Minor


To confirm the state of HS2, I add the servlet which prints stack trace. 



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-12752) Change the schema version to 2.1.0

2015-12-27 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-12752:
-

 Summary: Change the schema version to 2.1.0 
 Key: HIVE-12752
 URL: https://issues.apache.org/jira/browse/HIVE-12752
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita
Priority: Minor


When I saw hive-schema-2.1.0.postgres.sql, I confirmed that "SCHEMA_VERSION" 
and "VERSION_COMMENT" were 2.0.0.
I change each value to 2.1.0.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-12372) Improve to support the multibyte character at lpad and rpad

2015-11-09 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-12372:
-

 Summary: Improve to support the multibyte character at lpad and 
rpad
 Key: HIVE-12372
 URL: https://issues.apache.org/jira/browse/HIVE-12372
 Project: Hive
  Issue Type: Bug
  Components: UDF
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita


The current lpad and rpad don't support the multibyte character at "str" and 
"pad".
For example, we can see the following result.

{code}
hive> select name from sample1;
OK
tokyo
TOKYO
hive> select lpad(name, 20, '*') from sample1;
OK
***tokyo
*TOKYO
{code}

This is improved as follows.

{code}
hive> select lpad(name, 20, '*') from sample1;
***tokyo
***TOKYO
{code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-11511) Output the message of orcfiledump when ORC files are not specified

2015-08-10 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-11511:
-

 Summary: Output the message of orcfiledump when ORC files are not 
specified
 Key: HIVE-11511
 URL: https://issues.apache.org/jira/browse/HIVE-11511
 Project: Hive
  Issue Type: Bug
Affects Versions: 2.0.0
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita


When I execute the orcfiledump command without specifying a ORC file, any 
message is not output and return value is 0.

{code}
[root@hive hive]# /usr/local/hive/bin/hive --orcfiledump
[root@hive hive]# echo $?
0
{code}

For this behavior, I will be modified to output a error message.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-11135) Fix the Beeline set and save command in order to avoid the NullPointerException

2015-06-27 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-11135:
-

 Summary: Fix the Beeline set and save command in order to avoid 
the NullPointerException
 Key: HIVE-11135
 URL: https://issues.apache.org/jira/browse/HIVE-11135
 Project: Hive
  Issue Type: Bug
  Components: Beeline
Affects Versions: 2.0.0
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita


When I run set and save command at Beeline in my environment. And 
NullPointerException occurred as follows.

{code}
[root@hive ~]# /usr/local/hive/bin/beeline
Beeline version 2.0.0-SNAPSHOT by Apache Hive
beeline> !set
java.lang.NullPointerException
beeline> !save
Saving preferences to: /root/.beeline/beeline.properties
java.lang.NullPointerException
{code}

This problem has occurred because the following method's return value in 
BeeLineOpts#toProperties is null.
{code}
beeLine.getReflector().invoke(this, "get" + names[i], new Object[0]).toString()
{code}

Therefore it is modified so as to avoid NullPointerException.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-11123) Fix how to confirm the RDBMS product name at Metastore.

2015-06-25 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-11123:
-

 Summary: Fix how to confirm the RDBMS product name at Metastore.
 Key: HIVE-11123
 URL: https://issues.apache.org/jira/browse/HIVE-11123
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 1.2.0
 Environment: PostgreSQL
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita


I use PostgreSQL to Hive Metastore. And I saw the following message at 
PostgreSQL log.

{code}
< 2015-06-26 10:58:15.488 JST >ERROR:  syntax error at or near "@@" at 
character 5
< 2015-06-26 10:58:15.488 JST >STATEMENT:  SET @@session.sql_mode=ANSI_QUOTES
< 2015-06-26 10:58:15.489 JST >ERROR:  relation "v$instance" does not exist at 
character 21
< 2015-06-26 10:58:15.489 JST >STATEMENT:  SELECT version FROM v$instance
< 2015-06-26 10:58:15.490 JST >ERROR:  column "version" does not exist at 
character 10
< 2015-06-26 10:58:15.490 JST >STATEMENT:  SELECT @@version
{code}

When Hive CLI and Beeline embedded mode are carried out, this message is output 
to PostgreSQL log.
These queries are called from MetaStoreDirectSql#determineDbType. And if we use 
MetaStoreDirectSql#getProductName, we need not to call these queries.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-11071) FIx the output of beeline dbinfo command

2015-06-22 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-11071:
-

 Summary: FIx the output of beeline dbinfo command
 Key: HIVE-11071
 URL: https://issues.apache.org/jira/browse/HIVE-11071
 Project: Hive
  Issue Type: Bug
  Components: Beeline
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita


When dbinfo is executed by beeline, it is displayed as follows. 

{code}
0: jdbc:hive2://localhost:10001/> !dbinfo
Error: Method not supported (state=,code=0)
allTablesAreSelectabletrue
Error: Method not supported (state=,code=0)
Error: Method not supported (state=,code=0)
Error: Method not supported (state=,code=0)
getCatalogSeparator   .
getCatalogTerminstance
getDatabaseProductNameApache Hive
getDatabaseProductVersion 2.0.0-SNAPSHOT
getDefaultTransactionIsolation0
getDriverMajorVersion 1
getDriverMinorVersion 1
getDriverName Hive JDBC
...
{code}

The method name of Error is not understood. I fix this output.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-11065) Add the JVM options definition of HiveServer2 to hive-env.sh.template

2015-06-20 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-11065:
-

 Summary: Add the JVM options definition of HiveServer2 to 
hive-env.sh.template
 Key: HIVE-11065
 URL: https://issues.apache.org/jira/browse/HIVE-11065
 Project: Hive
  Issue Type: Improvement
  Components: HiveServer2
Affects Versions: 1.2.0
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita
Priority: Minor


When we use HiveServer2, we often set the JVM option such as the GC method.
I add a sample to hive-env.sh.template to be easy to understand a user.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-11052) Unify HiveSessionBase#getusername method

2015-06-18 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-11052:
-

 Summary: Unify HiveSessionBase#getusername method
 Key: HIVE-11052
 URL: https://issues.apache.org/jira/browse/HIVE-11052
 Project: Hive
  Issue Type: Bug
Affects Versions: 1.2.0
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita
Priority: Minor


Current HiveSessionBase has two methods call getUserName() and getUsername().
These two methods are united to getUserName().



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)


[jira] [Created] (HIVE-10734) Remove COLUMNS_OLD table from a schema definition file of PostgreSQL

2015-05-17 Thread Shinichi Yamashita (JIRA)
Shinichi Yamashita created HIVE-10734:
-

 Summary: Remove COLUMNS_OLD table from a schema definition file of 
PostgreSQL
 Key: HIVE-10734
 URL: https://issues.apache.org/jira/browse/HIVE-10734
 Project: Hive
  Issue Type: Bug
  Components: Metastore
Affects Versions: 1.3.0
Reporter: Shinichi Yamashita
Assignee: Shinichi Yamashita


A COLUMNS_OLD table is included in a schema definition file of PostgreSQL.
This table is fixed by HIVE-2246 so as not to use it.
Therefore it's eliminated from a schema definition file.




--
This message was sent by Atlassian JIRA
(v6.3.4#6332)