<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 09:05:25 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[KAFKA-41] Fix confluent-hub mongo connector install fails with unknown error upon unzipping file to standard hub component directory</title>
                <link>https://jira.mongodb.org/browse/KAFKA-41</link>
                <project id="16285" key="KAFKA">Kafka Connector</project>
                    <description></description>
                <environment></environment>
        <key id="843748">KAFKA-41</key>
            <summary>Fix confluent-hub mongo connector install fails with unknown error upon unzipping file to standard hub component directory</summary>
                <type id="1" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14703&amp;avatarType=issuetype">Bug</type>
                                            <priority id="2" iconUrl="https://jira.mongodb.org/images/icons/priorities/critical.svg">Critical - P2</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="13201">Fixed</resolution>
                                        <assignee username="ross@mongodb.com">Ross Lawley</assignee>
                                    <reporter username="mike.frencl@chrobinson.com">Mike Frencl</reporter>
                        <labels>
                    </labels>
                <created>Tue, 9 Jul 2019 17:12:42 +0000</created>
                <updated>Sat, 28 Oct 2023 10:46:21 +0000</updated>
                            <resolved>Wed, 24 Jul 2019 10:34:56 +0000</resolved>
                                                    <fixVersion>0.2</fixVersion>
                                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="2341087" author="xgen-internal-githook" created="Wed, 24 Jul 2019 10:33:52 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;name&apos;: &apos;Ross Lawley&apos;, &apos;username&apos;: &apos;rozza&apos;, &apos;email&apos;: &apos;ross.lawley@gmail.com&apos;}
&lt;p&gt;Message: Fix confluent archive format&lt;/p&gt;

&lt;p&gt;&lt;a href=&quot;https://jira.mongodb.org/browse/KAFKA-41&quot; title=&quot;Fix confluent-hub mongo connector install fails with unknown error upon unzipping file to standard hub component directory&quot; class=&quot;issue-link&quot; data-issue-key=&quot;KAFKA-41&quot;&gt;&lt;del&gt;KAFKA-41&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
Branch: master&lt;br/&gt;
&lt;a href=&quot;https://github.com/mongodb/mongo-kafka/commit/cd7bf1d84142d62fe812b227d4846f57db7d169e&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/mongodb/mongo-kafka/commit/cd7bf1d84142d62fe812b227d4846f57db7d169e&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2331985" author="ross@10gen.com" created="Thu, 18 Jul 2019 12:46:03 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=mike.frencl%40chrobinson.com&quot; class=&quot;user-hover&quot; rel=&quot;mike.frencl@chrobinson.com&quot;&gt;mike.frencl@chrobinson.com&lt;/a&gt;, thanks for the bug report.  &lt;/p&gt;

&lt;p&gt;This will be fixed in 0.2 in the meantime the connector will have to be manually installed by unzipping the zip file into the Kafka connect plugin directory.&lt;/p&gt;

&lt;p&gt;Ross&lt;/p&gt;</comment>
                            <comment id="2331953" author="ross@10gen.com" created="Thu, 18 Jul 2019 12:43:04 +0000"  >&lt;p&gt;&lt;a href=&quot;https://github.com/rozza/mongo-kafka/pull/3&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://github.com/rozza/mongo-kafka/pull/3&lt;/a&gt;&lt;/p&gt;</comment>
                            <comment id="2329755" author="scott.lhommedieu" created="Wed, 17 Jul 2019 00:43:31 +0000"  >&lt;p&gt;Steps to resolve this issue below.&lt;/p&gt;

&lt;p&gt;The archive file is missing a top-level directory. See the example at:&lt;br/&gt;
&lt;a href=&quot;https://docs.confluent.io/current/connect/managing/confluent-hub/component-archive.html&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://docs.confluent.io/current/connect/managing/confluent-hub/component-archive.html&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;It&apos;s not mentioned in the spec but the name of that top-level directory should match the archive and it should follow the convention:&lt;/p&gt;

&lt;p&gt; ${componentOwner}&lt;del&gt;${componentName}&lt;/del&gt;${componentVersion}.zip&lt;/p&gt;</comment>
                            <comment id="2317461" author="mike.frencl@chrobinson.com" created="Tue, 9 Jul 2019 17:16:27 +0000"  >&lt;p&gt;Verbose output below.&#160; Occurs when running confluent-hub install mongodb/kafka-connect-mongodb:0.1 on RHEL7 or when building docker container.&#160; Destination path ends up containing files extracted from the zip file, but they are not in the standard directory paths of other components installed with confluent-hub command (i.e. assets, doc, etc, lib).&#160; Uncertain if this is the cause or effect of the error.&lt;/p&gt;

&lt;p&gt;Running in a verbose mode&lt;br/&gt;
Running in a &quot;--no-prompt&quot; mode&lt;br/&gt;
Installation type is: ARCHIVE&lt;br/&gt;
Implicit acceptance of the license below:&lt;br/&gt;
The Apache License, Version 2.0&lt;br/&gt;
&lt;a href=&quot;https://www.apache.org/licenses/LICENSE-2.0&quot; class=&quot;external-link&quot; target=&quot;_blank&quot; rel=&quot;nofollow noopener&quot;&gt;https://www.apache.org/licenses/LICENSE-2.0&lt;/a&gt;&lt;br/&gt;
Implicit confirmation of the question: You are about to install &apos;kafka-connect-mongodb&apos; from MongoDB, as published on Confluent Hub.&lt;br/&gt;
Downloading component MongoDB Connector for Apache Kafka 0.1, provided by MongoDB from Confluent Hub and installing into /usr/share/confluent-hub-components&lt;br/&gt;
Scanning path /usr/share/confluent-hub-components&lt;br/&gt;
Installation state for the kafka-connect-mongodb in the /usr/share/confluent-hub-components is IMMEDIATE_DIRECTORY&lt;br/&gt;
Implicit confirmation of the question: Do you want to uninstall existing version 0.1?&lt;br/&gt;
Uninstalling kafka-connect-mongodb from /usr/share/confluent-hub-components&lt;br/&gt;
Deleting /usr/share/confluent-hub-components/mongodb-kafka-connect-mongodb&lt;br/&gt;
Creating temporary directory&lt;br/&gt;
Created temporary directory: /tmp/confluent-hub-tmp7450249767724837947&lt;br/&gt;
Copying data from input stream to file /tmp/confluent-hub-tmp7450249767724837947/mongodb-kafka-connect-mongodb-0.1.zip&lt;br/&gt;
1971998 bytes saved to disk&lt;br/&gt;
Creating directory recursively: /usr/share/confluent-hub-components&lt;br/&gt;
Unzipping file /tmp/confluent-hub-tmp7450249767724837947/mongodb-kafka-connect-mongodb-0.1.zip to /usr/share/confluent-hub-components/mongodb-kafka-connect-mongodb&lt;br/&gt;
Creating directory recursively: /usr/share/confluent-hub-components/mongodb-kafka-connect-mongodb&lt;br/&gt;
Creating directory recursively: /usr/share/confluent-hub-components/mongodb-kafka-connect-mongodb&lt;br/&gt;
Creating directory recursively: /usr/share/confluent-hub-components/mongodb-kafka-connect-mongodb&lt;br/&gt;
Creating directory recursively: /usr/share/confluent-hub-components/mongodb-kafka-connect-mongodb&lt;br/&gt;
Creating directory recursively: /usr/share/confluent-hub-components/mongodb-kafka-connect-mongodb&lt;br/&gt;
Creating directory recursively: /usr/share/confluent-hub-components/mongodb-kafka-connect-mongodb&lt;br/&gt;
Creating directory recursively: /usr/share/confluent-hub-components/mongodb-kafka-connect-mongodb&lt;br/&gt;
String index out of range: -1&lt;br/&gt;
Failed to unzip &apos;/tmp/confluent-hub-tmp7450249767724837947/mongodb-kafka-connect-mongodb-0.1.zip&apos; into &apos;/usr/share/confluent-hub-components/mongodb-kafka-connect-mongodb&apos;&lt;/p&gt;

&lt;p&gt;Error: Unknown error&lt;/p&gt;</comment>
                    </comments>
                    <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                        <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hv17fr:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>9223372036854775807</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                </customfields>
    </item>
</channel>
</rss>