Uploaded image for project: 'CDAP'
  1. CDAP
  2. CDAP-11903

When HTTP client timeout happens, the timeout duration should be in the exception

    Details

    • Type: Improvement
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Rank:
      1|i003sn:

      Description

      This would make debugging a lot easier... currently we only get something like this:

      2017-06-12 09:24:36,813 - ERROR [dataset.executor-executor-2846:j.n.SocketInputStream@-2] - Error creating dataset 'dataset:<CENSORED>': Read timed out
      java.net.SocketTimeoutException: Read timed out
              at java.net.SocketInputStream.socketRead0(Native Method)
              at java.net.SocketInputStream.socketRead(SocketInputStream.java:116)
              at java.net.SocketInputStream.read(SocketInputStream.java:170)
              at java.net.SocketInputStream.read(SocketInputStream.java:141)
              ...
      

        Attachments

          Activity

            People

            • Assignee:
              bhooshan Bhooshan Mogal
              Reporter:
              andreas Andreas Neumann
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: