[jira] [Updated] (DRILL-2675) Implement a subset of User Exceptions to improve how errors are reported to the user

2015-04-15 Thread Deneche A. Hakim (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deneche A. Hakim updated DRILL-2675:

Attachment: DRILL-2675.7.patch.txt

 Implement a subset of User Exceptions to improve how errors are reported to 
 the user
 

 Key: DRILL-2675
 URL: https://issues.apache.org/jira/browse/DRILL-2675
 Project: Apache Drill
  Issue Type: Sub-task
  Components: Execution - Flow
Affects Versions: 0.9.0
Reporter: Deneche A. Hakim
Assignee: Jacques Nadeau
 Fix For: 0.9.0

 Attachments: DRILL-2675.0.patch.txt, DRILL-2675.1.patch.txt, 
 DRILL-2675.2.patch.txt, DRILL-2675.3.patch.txt, DRILL-2675.4.patch.txt, 
 DRILL-2675.5.patch.txt, DRILL-2675.6.patch.txt, DRILL-2675.7.patch.txt


 Implement a set of most needed User Exceptions. Each user exception will 
 contain:
 - a meaningful error message
 - optional context information (e.g. which file/row caused the error)
 - errorID and drillbit name, to help users and developers find the original 
 error in the logs
 - a set of suppressed exceptions that were thrown along the original error



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


[jira] [Updated] (DRILL-2675) Implement a subset of User Exceptions to improve how errors are reported to the user

2015-04-15 Thread Deneche A. Hakim (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deneche A. Hakim updated DRILL-2675:

Attachment: DRILL-2675.fix.patch.txt

incremental patch that adds the missing changes from master

 Implement a subset of User Exceptions to improve how errors are reported to 
 the user
 

 Key: DRILL-2675
 URL: https://issues.apache.org/jira/browse/DRILL-2675
 Project: Apache Drill
  Issue Type: Sub-task
  Components: Execution - Flow
Affects Versions: 0.9.0
Reporter: Deneche A. Hakim
Assignee: Jacques Nadeau
 Fix For: 0.9.0

 Attachments: DRILL-2675.0.patch.txt, DRILL-2675.1.patch.txt, 
 DRILL-2675.2.patch.txt, DRILL-2675.3.patch.txt, DRILL-2675.4.patch.txt, 
 DRILL-2675.5.patch.txt, DRILL-2675.6.patch.txt, DRILL-2675.7.patch.txt, 
 DRILL-2675.fix.patch.txt


 Implement a set of most needed User Exceptions. Each user exception will 
 contain:
 - a meaningful error message
 - optional context information (e.g. which file/row caused the error)
 - errorID and drillbit name, to help users and developers find the original 
 error in the logs
 - a set of suppressed exceptions that were thrown along the original error



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


[jira] [Updated] (DRILL-2675) Implement a subset of User Exceptions to improve how errors are reported to the user

2015-04-14 Thread Deneche A. Hakim (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deneche A. Hakim updated DRILL-2675:

Attachment: DRILL-2675.6.patch.txt

- renamed DrillUserException to UserException
- made the builder easier to use
- added more documentation
- rebased on top of master

 Implement a subset of User Exceptions to improve how errors are reported to 
 the user
 

 Key: DRILL-2675
 URL: https://issues.apache.org/jira/browse/DRILL-2675
 Project: Apache Drill
  Issue Type: Sub-task
  Components: Execution - Flow
Affects Versions: 0.9.0
Reporter: Deneche A. Hakim
Assignee: Jacques Nadeau
 Fix For: 0.9.0

 Attachments: DRILL-2675.0.patch.txt, DRILL-2675.1.patch.txt, 
 DRILL-2675.2.patch.txt, DRILL-2675.3.patch.txt, DRILL-2675.4.patch.txt, 
 DRILL-2675.5.patch.txt, DRILL-2675.6.patch.txt


 Implement a set of most needed User Exceptions. Each user exception will 
 contain:
 - a meaningful error message
 - optional context information (e.g. which file/row caused the error)
 - errorID and drillbit name, to help users and developers find the original 
 error in the logs
 - a set of suppressed exceptions that were thrown along the original error



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


[jira] [Updated] (DRILL-2675) Implement a subset of User Exceptions to improve how errors are reported to the user

2015-04-13 Thread Deneche A. Hakim (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deneche A. Hakim updated DRILL-2675:

Assignee: Jacques Nadeau  (was: Deneche A. Hakim)

 Implement a subset of User Exceptions to improve how errors are reported to 
 the user
 

 Key: DRILL-2675
 URL: https://issues.apache.org/jira/browse/DRILL-2675
 Project: Apache Drill
  Issue Type: Sub-task
  Components: Execution - Flow
Affects Versions: 0.9.0
Reporter: Deneche A. Hakim
Assignee: Jacques Nadeau
 Fix For: 0.9.0

 Attachments: DRILL-2675.0.patch.txt, DRILL-2675.1.patch.txt, 
 DRILL-2675.2.patch.txt, DRILL-2675.3.patch.txt, DRILL-2675.4.patch.txt


 Implement a set of most needed User Exceptions. Each user exception will 
 contain:
 - a meaningful error message
 - optional context information (e.g. which file/row caused the error)
 - errorID and drillbit name, to help users and developers find the original 
 error in the logs
 - a set of suppressed exceptions that were thrown along the original error



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


[jira] [Updated] (DRILL-2675) Implement a subset of User Exceptions to improve how errors are reported to the user

2015-04-13 Thread Deneche A. Hakim (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deneche A. Hakim updated DRILL-2675:

Attachment: DRILL-2675.5.patch.txt

added unit test to make sure DrillUserException.Builder works as expected

 Implement a subset of User Exceptions to improve how errors are reported to 
 the user
 

 Key: DRILL-2675
 URL: https://issues.apache.org/jira/browse/DRILL-2675
 Project: Apache Drill
  Issue Type: Sub-task
  Components: Execution - Flow
Affects Versions: 0.9.0
Reporter: Deneche A. Hakim
Assignee: Jacques Nadeau
 Fix For: 0.9.0

 Attachments: DRILL-2675.0.patch.txt, DRILL-2675.1.patch.txt, 
 DRILL-2675.2.patch.txt, DRILL-2675.3.patch.txt, DRILL-2675.4.patch.txt, 
 DRILL-2675.5.patch.txt


 Implement a set of most needed User Exceptions. Each user exception will 
 contain:
 - a meaningful error message
 - optional context information (e.g. which file/row caused the error)
 - errorID and drillbit name, to help users and developers find the original 
 error in the logs
 - a set of suppressed exceptions that were thrown along the original error



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


[jira] [Updated] (DRILL-2675) Implement a subset of User Exceptions to improve how errors are reported to the user

2015-04-11 Thread Deneche A. Hakim (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deneche A. Hakim updated DRILL-2675:

Attachment: DRILL-2675.3.patch.txt

 Implement a subset of User Exceptions to improve how errors are reported to 
 the user
 

 Key: DRILL-2675
 URL: https://issues.apache.org/jira/browse/DRILL-2675
 Project: Apache Drill
  Issue Type: Sub-task
  Components: Execution - Flow
Affects Versions: 0.9.0
Reporter: Deneche A. Hakim
Assignee: Deneche A. Hakim
 Fix For: 0.9.0

 Attachments: DRILL-2675.0.patch.txt, DRILL-2675.1.patch.txt, 
 DRILL-2675.2.patch.txt, DRILL-2675.3.patch.txt


 Implement a set of most needed User Exceptions. Each user exception will 
 contain:
 - a meaningful error message
 - optional context information (e.g. which file/row caused the error)
 - errorID and drillbit name, to help users and developers find the original 
 error in the logs
 - a set of suppressed exceptions that were thrown along the original error



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


[jira] [Updated] (DRILL-2675) Implement a subset of User Exceptions to improve how errors are reported to the user

2015-04-11 Thread Deneche A. Hakim (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deneche A. Hakim updated DRILL-2675:

Attachment: DRILL-2675.2.patch.txt

 Implement a subset of User Exceptions to improve how errors are reported to 
 the user
 

 Key: DRILL-2675
 URL: https://issues.apache.org/jira/browse/DRILL-2675
 Project: Apache Drill
  Issue Type: Sub-task
  Components: Execution - Flow
Affects Versions: 0.9.0
Reporter: Deneche A. Hakim
Assignee: Deneche A. Hakim
 Fix For: 0.9.0

 Attachments: DRILL-2675.0.patch.txt, DRILL-2675.1.patch.txt, 
 DRILL-2675.2.patch.txt, DRILL-2675.3.patch.txt


 Implement a set of most needed User Exceptions. Each user exception will 
 contain:
 - a meaningful error message
 - optional context information (e.g. which file/row caused the error)
 - errorID and drillbit name, to help users and developers find the original 
 error in the logs
 - a set of suppressed exceptions that were thrown along the original error



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


[jira] [Updated] (DRILL-2675) Implement a subset of User Exceptions to improve how errors are reported to the user

2015-04-11 Thread Deneche A. Hakim (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deneche A. Hakim updated DRILL-2675:

Attachment: DRILL-2675.4.patch.txt

 Implement a subset of User Exceptions to improve how errors are reported to 
 the user
 

 Key: DRILL-2675
 URL: https://issues.apache.org/jira/browse/DRILL-2675
 Project: Apache Drill
  Issue Type: Sub-task
  Components: Execution - Flow
Affects Versions: 0.9.0
Reporter: Deneche A. Hakim
Assignee: Deneche A. Hakim
 Fix For: 0.9.0

 Attachments: DRILL-2675.0.patch.txt, DRILL-2675.1.patch.txt, 
 DRILL-2675.2.patch.txt, DRILL-2675.3.patch.txt, DRILL-2675.4.patch.txt


 Implement a set of most needed User Exceptions. Each user exception will 
 contain:
 - a meaningful error message
 - optional context information (e.g. which file/row caused the error)
 - errorID and drillbit name, to help users and developers find the original 
 error in the logs
 - a set of suppressed exceptions that were thrown along the original error



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


[jira] [Updated] (DRILL-2675) Implement a subset of User Exceptions to improve how errors are reported to the user

2015-04-11 Thread Deneche A. Hakim (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deneche A. Hakim updated DRILL-2675:

Attachment: DRILL-2675.1.patch.txt

 Implement a subset of User Exceptions to improve how errors are reported to 
 the user
 

 Key: DRILL-2675
 URL: https://issues.apache.org/jira/browse/DRILL-2675
 Project: Apache Drill
  Issue Type: Sub-task
  Components: Execution - Flow
Affects Versions: 0.9.0
Reporter: Deneche A. Hakim
Assignee: Deneche A. Hakim
 Fix For: 0.9.0

 Attachments: DRILL-2675.0.patch.txt, DRILL-2675.1.patch.txt, 
 DRILL-2675.2.patch.txt, DRILL-2675.3.patch.txt


 Implement a set of most needed User Exceptions. Each user exception will 
 contain:
 - a meaningful error message
 - optional context information (e.g. which file/row caused the error)
 - errorID and drillbit name, to help users and developers find the original 
 error in the logs
 - a set of suppressed exceptions that were thrown along the original error



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


[jira] [Updated] (DRILL-2675) Implement a subset of User Exceptions to improve how errors are reported to the user

2015-04-08 Thread Deneche A. Hakim (JIRA)

 [ 
https://issues.apache.org/jira/browse/DRILL-2675?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Deneche A. Hakim updated DRILL-2675:

Attachment: DRILL-2675.0.patch.txt

Initial patch with a working solution. This patch cleans the path for errors, 
especially user errors with meaningful messages, to be propagated properly to 
the client. 
The patch includes changes to 2 existing use cases where the error message was 
successfully improved.

The general idea is: if a code wants to throw an exception that contains a 
meaningful error message, it throws a DrillUserException. The propagation code 
will make sure this exception is propagated to the client. The user exception 
object doesn't contain the final error message, but enough information about 
the error, the client will use this information to display a better error 
message.
Any exception that is not a DrillUserException (or one of it's subclasses) will 
be considered as a system exception. For those exceptions the client will only 
display the error id and drillbit identity in case the user wants to check the 
logs for more informations about the error.
Error objects sent to the client will still contain a stack trace that can be 
used to display more information if the client has enabled the error verbose 
mode.


 Implement a subset of User Exceptions to improve how errors are reported to 
 the user
 

 Key: DRILL-2675
 URL: https://issues.apache.org/jira/browse/DRILL-2675
 Project: Apache Drill
  Issue Type: Sub-task
  Components: Execution - Flow
Affects Versions: 0.9.0
Reporter: Deneche A. Hakim
Assignee: Deneche A. Hakim
 Fix For: 0.9.0

 Attachments: DRILL-2675.0.patch.txt


 Implement a set of most needed User Exceptions. Each user exception will 
 contain:
 - a meaningful error message
 - optional context information (e.g. which file/row caused the error)
 - errorID and drillbit name, to help users and developers find the original 
 error in the logs
 - a set of suppressed exceptions that were thrown along the original error



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