You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@drill.apache.org by sohami <gi...@git.apache.org> on 2017/08/04 01:25:19 UTC

[GitHub] drill pull request #895: DRILL-5704: Improve error message on client side wh...

GitHub user sohami opened a pull request:

    https://github.com/apache/drill/pull/895

    DRILL-5704: Improve error message on client side when queries fail wi…

    …th "Failed to create schema tree." when Impersonation is enabled and logins are anonymous

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/sohami/drill DRILL-5704

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/drill/pull/895.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #895
    
----
commit 7950826cb1ae28c33007aac22834ca8f3b33846a
Author: Sorabh Hamirwasia <sh...@maprtech.com>
Date:   2017-08-04T01:23:02Z

    DRILL-5704: Improve error message on client side when queries fail with "Failed to create schema tree." when Impersonation is enabled and logins are anonymous

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] drill issue #895: DRILL-5704: Improve error message on client side when quer...

Posted by priteshm <gi...@git.apache.org>.
Github user priteshm commented on the issue:

    https://github.com/apache/drill/pull/895
  
    @parthchandra can you please review this?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] drill issue #895: DRILL-5704: Improve error message on client side when quer...

Posted by parthchandra <gi...@git.apache.org>.
Github user parthchandra commented on the issue:

    https://github.com/apache/drill/pull/895
  
    +1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] drill issue #895: DRILL-5704: Improve error message on client side when quer...

Posted by sohami <gi...@git.apache.org>.
Github user sohami commented on the issue:

    https://github.com/apache/drill/pull/895
  
    This PR was already merged by @arina-ielchiieva on 08/24


---

[GitHub] drill issue #895: DRILL-5704: Improve error message on client side when quer...

Posted by parthchandra <gi...@git.apache.org>.
Github user parthchandra commented on the issue:

    https://github.com/apache/drill/pull/895
  
    This is only marginally better. It would be nicer if the error message could suggest what the user needs to do to fix the problem, perhaps?


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] drill issue #895: DRILL-5704: Improve error message on client side when quer...

Posted by sohami <gi...@git.apache.org>.
Github user sohami commented on the issue:

    https://github.com/apache/drill/pull/895
  
    @parthchandra - Thanks for the feedback. IOException is thrown for various reason from FileSystem api's and hence I was just printing the exception message. But I have added a hint statement based on impersonation case specifically. Now it will print like below.
    
    Error: RESOURCE ERROR: Failed to create schema tree.
    
    IOException:  Error getting user info for current user, anonymous
    _[Hint: Username is absent in connection URL or doesn't exist on Drillbit node. Please specify a username in connection URL which is present on Drillbit node.]_
    
    [Error Id: 1cf76f0f-28d0-4fda-93bd-e7c03a0088d3 on qa-node164.qa.lab:31010] (state=,code=0)


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] drill issue #895: DRILL-5704: Improve error message on client side when quer...

Posted by paul-rogers <gi...@git.apache.org>.
Github user paul-rogers commented on the issue:

    https://github.com/apache/drill/pull/895
  
    @sohami, please rebase on latest master and resolve conflicts. 


---

[GitHub] drill pull request #895: DRILL-5704: Improve error message on client side wh...

Posted by sohami <gi...@git.apache.org>.
Github user sohami closed the pull request at:

    https://github.com/apache/drill/pull/895


---