Uploaded image for project: 'jclouds'
  1. jclouds
  2. JCLOUDS-1327

putBlob with zero length Inputstream is failing on google-cloud-storage

    Details

      Description

      putBlob with zero length Inputstream is failing on google-cloud-storage with

      org.jclouds.http.HttpResponseException: command: POST https://www.googleapis.com/storage/v1/b/gaul-blobstore3/o/multipart-upload/compose HTTP/1.1 failed with response: HTTP/1.1 400 Bad Request; content: [{
       "error": {
        "errors": [
         {
          "domain": "global",
          "reason": "required",
          "message": "You must provide at least one source component."
         }
        ],
        "code": 400,
        "message": "You must provide at least one source component."
       }
      }
      ]
      

        Issue Links

          Activity

          Hide
          gaul Andrew Gaul added a comment -

          Sorry I did not understand the failure earlier. I pushed your integration tests from JCLOUDS-1322 with the fix.

          Show
          gaul Andrew Gaul added a comment - Sorry I did not understand the failure earlier. I pushed your integration tests from JCLOUDS-1322 with the fix.
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 69866189d73449aeb5b698e30959b5fcfaeab0cc in jclouds-labs-google's branch refs/heads/2.0.x from Andrew Gaul
          [ https://git-wip-us.apache.org/repos/asf?p=jclouds-labs-google.git;h=6986618 ]

          JCLOUDS-1327: Do not try GCS MPU if length is zero

          References JCLOUDS-912.

          Show
          jira-bot ASF subversion and git services added a comment - Commit 69866189d73449aeb5b698e30959b5fcfaeab0cc in jclouds-labs-google's branch refs/heads/2.0.x from Andrew Gaul [ https://git-wip-us.apache.org/repos/asf?p=jclouds-labs-google.git;h=6986618 ] JCLOUDS-1327 : Do not try GCS MPU if length is zero References JCLOUDS-912 .
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 5e9743a226c7fbec4a0bdcbb169c8c612925cdb9 in jclouds's branch refs/heads/2.0.x from Chaithanya Ganta
          [ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=5e9743a ]

          JCLOUDS-1327: Add tests for zero-length blobs

          Show
          jira-bot ASF subversion and git services added a comment - Commit 5e9743a226c7fbec4a0bdcbb169c8c612925cdb9 in jclouds's branch refs/heads/2.0.x from Chaithanya Ganta [ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=5e9743a ] JCLOUDS-1327 : Add tests for zero-length blobs
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit 9e73bbec16cbf91c5f228d4c3ae99c6c526081f8 in jclouds's branch refs/heads/master from Andrew Gaul
          [ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=9e73bbe ]

          JCLOUDS-1327: Do not try GCS MPU if length is zero

          References JCLOUDS-912.

          Show
          jira-bot ASF subversion and git services added a comment - Commit 9e73bbec16cbf91c5f228d4c3ae99c6c526081f8 in jclouds's branch refs/heads/master from Andrew Gaul [ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=9e73bbe ] JCLOUDS-1327 : Do not try GCS MPU if length is zero References JCLOUDS-912 .
          Hide
          jira-bot ASF subversion and git services added a comment -

          Commit d6038487f7d4256f73dd089c9bc8d307fbae0aff in jclouds's branch refs/heads/master from Chaithanya Ganta
          [ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=d603848 ]

          JCLOUDS-1327: Add tests for zero-length blobs

          Show
          jira-bot ASF subversion and git services added a comment - Commit d6038487f7d4256f73dd089c9bc8d307fbae0aff in jclouds's branch refs/heads/master from Chaithanya Ganta [ https://git-wip-us.apache.org/repos/asf?p=jclouds.git;h=d603848 ] JCLOUDS-1327 : Add tests for zero-length blobs
          Hide
          chaitanya.nitj@gmail.com Chaithanya Ganta added a comment -

          Andrew Gaul This issue has nothing to do with the proposed change in https://github.com/jclouds/jclouds/pull/1120. There is actually a bug in BaseBlobStore.putMultipartBlob which causes this issue.

          Show
          chaitanya.nitj@gmail.com Chaithanya Ganta added a comment - Andrew Gaul This issue has nothing to do with the proposed change in https://github.com/jclouds/jclouds/pull/1120 . There is actually a bug in BaseBlobStore.putMultipartBlob which causes this issue.
          Hide
          gaul Andrew Gaul added a comment -

          Marking invalid since this is an issue with a proposed change, not a merged change:

          https://github.com/jclouds/jclouds/pull/1120

          Show
          gaul Andrew Gaul added a comment - Marking invalid since this is an issue with a proposed change, not a merged change: https://github.com/jclouds/jclouds/pull/1120

            People

            • Assignee:
              gaul Andrew Gaul
              Reporter:
              chaitanya.nitj@gmail.com Chaithanya Ganta
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Development