Skip to content

Conversation

@wangyum
Copy link
Member

@wangyum wangyum commented Mar 28, 2017

What changes were proposed in this pull request?

It is similar to Hive silent mode, just show the query result. see: Hive LanguageManual+Cli and the implementation of Hive silent mode.

This PR set the Logger level to WARN to get similar result.

How was this patch tested?

manual tests

manual test spark sql silent mode

@SparkQA
Copy link

SparkQA commented Mar 28, 2017

Test build #75297 has finished for PR 17449 at commit a6e8f5a.

  • This patch passes all tests.
  • This patch merges cleanly.
  • This patch adds no public classes.

@srowen
Copy link
Member

srowen commented Mar 28, 2017

It seems reasonable to me, if we already support the flag, even. It's unfortunate we have to call log4j directly but I don't know of a way around that.

Copy link
Member

@gatorsmile gatorsmile left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@gatorsmile
Copy link
Member

Thanks! Merging to master.

@asfgit asfgit closed this in fe1d6b0 Mar 29, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants