You are viewing a plain text version of this content. The canonical link for it is here.
Posted to yarn-dev@hadoop.apache.org by Chao Sun <su...@apache.org> on 2020/10/12 22:41:05 UTC

Wire compatibility between Hadoop 3.x client and 2.x server

Hi community,

Does Hadoop 3.x provide wire compatibility between 3.x clients and 2.x
server? There is a blog post from Cloudera [1] mentioning wire
compatibility between 2.x clients and 3.x server, but not the other
direction. Curious if someone knows this. Also it'd be good to know if
someone is running this setup in prod. Thanks!

Chao

[1]:
https://blog.cloudera.com/upgrading-clusters-workloads-hadoop-2-hadoop-3

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Zhenyu Zheng <zh...@gmail.com>.
Hi,

I'm not a Hadoop expert but I've had some experiences in the cloud
infrastructure that I think also makes sense in your case.
For 2.x client + 3.x Server case, the Server side can obviously provide
compatibility, so it should work fine. But in the opposite case,
it might have problem, because 2.x server may not understand new client
calls added in 3.x, for old calls, it should work fine, but
if some internal implementation has changed, it might also be a problem, so
you might have to check case by case.

BR,

On Tue, Oct 13, 2020 at 6:41 AM Chao Sun <su...@apache.org> wrote:

> Hi community,
>
> Does Hadoop 3.x provide wire compatibility between 3.x clients and 2.x
> server? There is a blog post from Cloudera [1] mentioning wire
> compatibility between 2.x clients and 3.x server, but not the other
> direction. Curious if someone knows this. Also it'd be good to know if
> someone is running this setup in prod. Thanks!
>
> Chao
>
> [1]:
> https://blog.cloudera.com/upgrading-clusters-workloads-hadoop-2-hadoop-3
>

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Vinayakumar B <vi...@apache.org>.
Thanks Jianliang,

I saw jira assigned to you.  Are you planning to provide a fix as well for
this?

If not, would you mind assigning to me?

-Vinay

On Wed, 28 Oct 2020 at 3:46 PM, Wu,Jianliang(vip.com) <
jianliang.wu@vipshop.com> wrote:

> Hi  VinayaKumar and Wei-Chiu
>
> I filed jira https://issues.apache.org/jira/browse/HDFS-15660 for details
>
>
> 2020年10月28日 17:08,Vinayakumar B <vi...@apache.org> 写道:
>
> Hi Wu,Jianliang,
> Have you created the Jira for the issue you mentioned due to
> getContentSummary?
>
> I might have a fix for this. Of-course it needs to be applied both client
> and server side.
>
> Let me know.
>
> -Vinay
>
>
> On Wed, Oct 14, 2020 at 12:26 PM Wu,Jianliang(vip.com) <
> jianliang.wu@vipshop.com> wrote:
>
> Ok, I will file a HDFS jira to report this issue.
>
>
> 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
>
> Thanks Jialiang for reporting the issue.
> That sounds bad and should've not happened. Could you file a HDFS jira
>
> and
>
> fill in more details?
>
> On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
> jianliang.wu@vipshop.com> wrote:
>
> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
> 2.6,  we found hive to call getContentSummary method , the client and
> server was not compatible  because of hadoop3 added new PROVIDED storage
> type.
>
> 2020年10月13日 06:41,Chao Sun <sunchao@apache.org<mailto:
>
> sunchao@apache.org>>
>
> 写道:
>
>
>
>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
>
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an
>
> authorized
>
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without
>
> making
>
> or otherwise retaining a copy.
>
>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an authorized
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without making
> or otherwise retaining a copy.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
> <hd...@hadoop.apache.org>
> For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org
> <hd...@hadoop.apache.org>
>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an authorized
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without making
> or otherwise retaining a copy.
>
-- 
-Vinay

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Vinayakumar B <vi...@apache.org>.
Thanks Jianliang,

I saw jira assigned to you.  Are you planning to provide a fix as well for
this?

If not, would you mind assigning to me?

-Vinay

On Wed, 28 Oct 2020 at 3:46 PM, Wu,Jianliang(vip.com) <
jianliang.wu@vipshop.com> wrote:

> Hi  VinayaKumar and Wei-Chiu
>
> I filed jira https://issues.apache.org/jira/browse/HDFS-15660 for details
>
>
> 2020年10月28日 17:08,Vinayakumar B <vi...@apache.org> 写道:
>
> Hi Wu,Jianliang,
> Have you created the Jira for the issue you mentioned due to
> getContentSummary?
>
> I might have a fix for this. Of-course it needs to be applied both client
> and server side.
>
> Let me know.
>
> -Vinay
>
>
> On Wed, Oct 14, 2020 at 12:26 PM Wu,Jianliang(vip.com) <
> jianliang.wu@vipshop.com> wrote:
>
> Ok, I will file a HDFS jira to report this issue.
>
>
> 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
>
> Thanks Jialiang for reporting the issue.
> That sounds bad and should've not happened. Could you file a HDFS jira
>
> and
>
> fill in more details?
>
> On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
> jianliang.wu@vipshop.com> wrote:
>
> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
> 2.6,  we found hive to call getContentSummary method , the client and
> server was not compatible  because of hadoop3 added new PROVIDED storage
> type.
>
> 2020年10月13日 06:41,Chao Sun <sunchao@apache.org<mailto:
>
> sunchao@apache.org>>
>
> 写道:
>
>
>
>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
>
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an
>
> authorized
>
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without
>
> making
>
> or otherwise retaining a copy.
>
>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an authorized
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without making
> or otherwise retaining a copy.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
> <hd...@hadoop.apache.org>
> For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org
> <hd...@hadoop.apache.org>
>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an authorized
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without making
> or otherwise retaining a copy.
>
-- 
-Vinay

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Vinayakumar B <vi...@apache.org>.
Thanks Jianliang,

I saw jira assigned to you.  Are you planning to provide a fix as well for
this?

If not, would you mind assigning to me?

-Vinay

On Wed, 28 Oct 2020 at 3:46 PM, Wu,Jianliang(vip.com) <
jianliang.wu@vipshop.com> wrote:

> Hi  VinayaKumar and Wei-Chiu
>
> I filed jira https://issues.apache.org/jira/browse/HDFS-15660 for details
>
>
> 2020年10月28日 17:08,Vinayakumar B <vi...@apache.org> 写道:
>
> Hi Wu,Jianliang,
> Have you created the Jira for the issue you mentioned due to
> getContentSummary?
>
> I might have a fix for this. Of-course it needs to be applied both client
> and server side.
>
> Let me know.
>
> -Vinay
>
>
> On Wed, Oct 14, 2020 at 12:26 PM Wu,Jianliang(vip.com) <
> jianliang.wu@vipshop.com> wrote:
>
> Ok, I will file a HDFS jira to report this issue.
>
>
> 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
>
> Thanks Jialiang for reporting the issue.
> That sounds bad and should've not happened. Could you file a HDFS jira
>
> and
>
> fill in more details?
>
> On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
> jianliang.wu@vipshop.com> wrote:
>
> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
> 2.6,  we found hive to call getContentSummary method , the client and
> server was not compatible  because of hadoop3 added new PROVIDED storage
> type.
>
> 2020年10月13日 06:41,Chao Sun <sunchao@apache.org<mailto:
>
> sunchao@apache.org>>
>
> 写道:
>
>
>
>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
>
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an
>
> authorized
>
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without
>
> making
>
> or otherwise retaining a copy.
>
>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an authorized
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without making
> or otherwise retaining a copy.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
> <hd...@hadoop.apache.org>
> For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org
> <hd...@hadoop.apache.org>
>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an authorized
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without making
> or otherwise retaining a copy.
>
-- 
-Vinay

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by "Wu,Jianliang(vip.com)" <ji...@vipshop.com>.
Hi  VinayaKumar and Wei-Chiu

I filed jira https://issues.apache.org/jira/browse/HDFS-15660 for details

2020年10月28日 17:08,Vinayakumar B <vi...@apache.org>> 写道:

Hi Wu,Jianliang,
Have you created the Jira for the issue you mentioned due to
getContentSummary?

I might have a fix for this. Of-course it needs to be applied both client
and server side.

Let me know.

-Vinay


On Wed, Oct 14, 2020 at 12:26 PM Wu,Jianliang(vip.com<http://vip.com>) <
jianliang.wu@vipshop.com<ma...@vipshop.com>> wrote:

Ok, I will file a HDFS jira to report this issue.


2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID>> 写道:

Thanks Jialiang for reporting the issue.
That sounds bad and should've not happened. Could you file a HDFS jira
and
fill in more details?

On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com<http://vip.com>) <
jianliang.wu@vipshop.com<ma...@vipshop.com>> wrote:

In our case, when nn has upgraded to 3.1.3 and dn’s version was still
2.6,  we found hive to call getContentSummary method , the client and
server was not compatible  because of hadoop3 added new PROVIDED storage
type.

2020年10月13日 06:41,Chao Sun <su...@apache.org><mailto:
sunchao@apache.org<ma...@apache.org>>>
写道:




本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
This communication is intended only for the addressee(s) and may contain
information that is privileged and confidential. You are hereby notified
that, if you are not an intended recipient listed above, or an
authorized
employee or agent of an addressee of this communication responsible for
delivering e-mail messages to an intended recipient, any dissemination,
distribution or reproduction of this communication (including any
attachments hereto) is strictly prohibited. If you have received this
communication in error, please notify us immediately by a reply e-mail
addressed to the sender and permanently delete the original e-mail
communication and any attachments from all storage devices without
making
or otherwise retaining a copy.


本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
This communication is intended only for the addressee(s) and may contain
information that is privileged and confidential. You are hereby notified
that, if you are not an intended recipient listed above, or an authorized
employee or agent of an addressee of this communication responsible for
delivering e-mail messages to an intended recipient, any dissemination,
distribution or reproduction of this communication (including any
attachments hereto) is strictly prohibited. If you have received this
communication in error, please notify us immediately by a reply e-mail
addressed to the sender and permanently delete the original e-mail
communication and any attachments from all storage devices without making
or otherwise retaining a copy.

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org<ma...@hadoop.apache.org>
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org<ma...@hadoop.apache.org>


本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作! This communication is intended only for the addressee(s) and may contain information that is privileged and confidential. You are hereby notified that, if you are not an intended recipient listed above, or an authorized employee or agent of an addressee of this communication responsible for delivering e-mail messages to an intended recipient, any dissemination, distribution or reproduction of this communication (including any attachments hereto) is strictly prohibited. If you have received this communication in error, please notify us immediately by a reply e-mail addressed to the sender and permanently delete the original e-mail communication and any attachments from all storage devices without making or otherwise retaining a copy.

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by "Wu,Jianliang(vip.com)" <ji...@vipshop.com>.
Hi  VinayaKumar and Wei-Chiu

I filed jira https://issues.apache.org/jira/browse/HDFS-15660 for details

2020年10月28日 17:08,Vinayakumar B <vi...@apache.org>> 写道:

Hi Wu,Jianliang,
Have you created the Jira for the issue you mentioned due to
getContentSummary?

I might have a fix for this. Of-course it needs to be applied both client
and server side.

Let me know.

-Vinay


On Wed, Oct 14, 2020 at 12:26 PM Wu,Jianliang(vip.com<http://vip.com>) <
jianliang.wu@vipshop.com<ma...@vipshop.com>> wrote:

Ok, I will file a HDFS jira to report this issue.


2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID>> 写道:

Thanks Jialiang for reporting the issue.
That sounds bad and should've not happened. Could you file a HDFS jira
and
fill in more details?

On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com<http://vip.com>) <
jianliang.wu@vipshop.com<ma...@vipshop.com>> wrote:

In our case, when nn has upgraded to 3.1.3 and dn’s version was still
2.6,  we found hive to call getContentSummary method , the client and
server was not compatible  because of hadoop3 added new PROVIDED storage
type.

2020年10月13日 06:41,Chao Sun <su...@apache.org><mailto:
sunchao@apache.org<ma...@apache.org>>>
写道:




本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
This communication is intended only for the addressee(s) and may contain
information that is privileged and confidential. You are hereby notified
that, if you are not an intended recipient listed above, or an
authorized
employee or agent of an addressee of this communication responsible for
delivering e-mail messages to an intended recipient, any dissemination,
distribution or reproduction of this communication (including any
attachments hereto) is strictly prohibited. If you have received this
communication in error, please notify us immediately by a reply e-mail
addressed to the sender and permanently delete the original e-mail
communication and any attachments from all storage devices without
making
or otherwise retaining a copy.


本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
This communication is intended only for the addressee(s) and may contain
information that is privileged and confidential. You are hereby notified
that, if you are not an intended recipient listed above, or an authorized
employee or agent of an addressee of this communication responsible for
delivering e-mail messages to an intended recipient, any dissemination,
distribution or reproduction of this communication (including any
attachments hereto) is strictly prohibited. If you have received this
communication in error, please notify us immediately by a reply e-mail
addressed to the sender and permanently delete the original e-mail
communication and any attachments from all storage devices without making
or otherwise retaining a copy.

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org<ma...@hadoop.apache.org>
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org<ma...@hadoop.apache.org>


本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作! This communication is intended only for the addressee(s) and may contain information that is privileged and confidential. You are hereby notified that, if you are not an intended recipient listed above, or an authorized employee or agent of an addressee of this communication responsible for delivering e-mail messages to an intended recipient, any dissemination, distribution or reproduction of this communication (including any attachments hereto) is strictly prohibited. If you have received this communication in error, please notify us immediately by a reply e-mail addressed to the sender and permanently delete the original e-mail communication and any attachments from all storage devices without making or otherwise retaining a copy.

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Vinayakumar B <vi...@apache.org>.
Hi Wu,Jianliang,
Have you created the Jira for the issue you mentioned due to
getContentSummary?

I might have a fix for this. Of-course it needs to be applied both client
and server side.

Let me know.

-Vinay


On Wed, Oct 14, 2020 at 12:26 PM Wu,Jianliang(vip.com) <
jianliang.wu@vipshop.com> wrote:

> Ok, I will file a HDFS jira to report this issue.
>
>
> > 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
> >
> > Thanks Jialiang for reporting the issue.
> > That sounds bad and should've not happened. Could you file a HDFS jira
> and
> > fill in more details?
> >
> > On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
> > jianliang.wu@vipshop.com> wrote:
> >
> >> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
> >> 2.6,  we found hive to call getContentSummary method , the client and
> >> server was not compatible  because of hadoop3 added new PROVIDED storage
> >> type.
> >>
> >> 2020年10月13日 06:41,Chao Sun <sunchao@apache.org<mailto:
> sunchao@apache.org>>
> >> 写道:
> >>
> >>
> >>
> >>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> >> This communication is intended only for the addressee(s) and may contain
> >> information that is privileged and confidential. You are hereby notified
> >> that, if you are not an intended recipient listed above, or an
> authorized
> >> employee or agent of an addressee of this communication responsible for
> >> delivering e-mail messages to an intended recipient, any dissemination,
> >> distribution or reproduction of this communication (including any
> >> attachments hereto) is strictly prohibited. If you have received this
> >> communication in error, please notify us immediately by a reply e-mail
> >> addressed to the sender and permanently delete the original e-mail
> >> communication and any attachments from all storage devices without
> making
> >> or otherwise retaining a copy.
> >>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an authorized
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without making
> or otherwise retaining a copy.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
> For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org
>

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Vinayakumar B <vi...@apache.org>.
Hi Wu,Jianliang,
Have you created the Jira for the issue you mentioned due to
getContentSummary?

I might have a fix for this. Of-course it needs to be applied both client
and server side.

Let me know.

-Vinay


On Wed, Oct 14, 2020 at 12:26 PM Wu,Jianliang(vip.com) <
jianliang.wu@vipshop.com> wrote:

> Ok, I will file a HDFS jira to report this issue.
>
>
> > 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
> >
> > Thanks Jialiang for reporting the issue.
> > That sounds bad and should've not happened. Could you file a HDFS jira
> and
> > fill in more details?
> >
> > On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
> > jianliang.wu@vipshop.com> wrote:
> >
> >> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
> >> 2.6,  we found hive to call getContentSummary method , the client and
> >> server was not compatible  because of hadoop3 added new PROVIDED storage
> >> type.
> >>
> >> 2020年10月13日 06:41,Chao Sun <sunchao@apache.org<mailto:
> sunchao@apache.org>>
> >> 写道:
> >>
> >>
> >>
> >>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> >> This communication is intended only for the addressee(s) and may contain
> >> information that is privileged and confidential. You are hereby notified
> >> that, if you are not an intended recipient listed above, or an
> authorized
> >> employee or agent of an addressee of this communication responsible for
> >> delivering e-mail messages to an intended recipient, any dissemination,
> >> distribution or reproduction of this communication (including any
> >> attachments hereto) is strictly prohibited. If you have received this
> >> communication in error, please notify us immediately by a reply e-mail
> >> addressed to the sender and permanently delete the original e-mail
> >> communication and any attachments from all storage devices without
> making
> >> or otherwise retaining a copy.
> >>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an authorized
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without making
> or otherwise retaining a copy.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
> For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org
>

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Vinayakumar B <vi...@apache.org>.
Hi Wu,Jianliang,
Have you created the Jira for the issue you mentioned due to
getContentSummary?

I might have a fix for this. Of-course it needs to be applied both client
and server side.

Let me know.

-Vinay


On Wed, Oct 14, 2020 at 12:26 PM Wu,Jianliang(vip.com) <
jianliang.wu@vipshop.com> wrote:

> Ok, I will file a HDFS jira to report this issue.
>
>
> > 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
> >
> > Thanks Jialiang for reporting the issue.
> > That sounds bad and should've not happened. Could you file a HDFS jira
> and
> > fill in more details?
> >
> > On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
> > jianliang.wu@vipshop.com> wrote:
> >
> >> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
> >> 2.6,  we found hive to call getContentSummary method , the client and
> >> server was not compatible  because of hadoop3 added new PROVIDED storage
> >> type.
> >>
> >> 2020年10月13日 06:41,Chao Sun <sunchao@apache.org<mailto:
> sunchao@apache.org>>
> >> 写道:
> >>
> >>
> >>
> >>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> >> This communication is intended only for the addressee(s) and may contain
> >> information that is privileged and confidential. You are hereby notified
> >> that, if you are not an intended recipient listed above, or an
> authorized
> >> employee or agent of an addressee of this communication responsible for
> >> delivering e-mail messages to an intended recipient, any dissemination,
> >> distribution or reproduction of this communication (including any
> >> attachments hereto) is strictly prohibited. If you have received this
> >> communication in error, please notify us immediately by a reply e-mail
> >> addressed to the sender and permanently delete the original e-mail
> >> communication and any attachments from all storage devices without
> making
> >> or otherwise retaining a copy.
> >>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an authorized
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without making
> or otherwise retaining a copy.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
> For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org
>

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by "Wu,Jianliang(vip.com)" <ji...@vipshop.com>.
Ok, I will file a HDFS jira to report this issue.


> 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
>
> Thanks Jialiang for reporting the issue.
> That sounds bad and should've not happened. Could you file a HDFS jira and
> fill in more details?
>
> On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
> jianliang.wu@vipshop.com> wrote:
>
>> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
>> 2.6,  we found hive to call getContentSummary method , the client and
>> server was not compatible  because of hadoop3 added new PROVIDED storage
>> type.
>>
>> 2020年10月13日 06:41,Chao Sun <su...@apache.org>>
>> 写道:
>>
>>
>>
>> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
>> This communication is intended only for the addressee(s) and may contain
>> information that is privileged and confidential. You are hereby notified
>> that, if you are not an intended recipient listed above, or an authorized
>> employee or agent of an addressee of this communication responsible for
>> delivering e-mail messages to an intended recipient, any dissemination,
>> distribution or reproduction of this communication (including any
>> attachments hereto) is strictly prohibited. If you have received this
>> communication in error, please notify us immediately by a reply e-mail
>> addressed to the sender and permanently delete the original e-mail
>> communication and any attachments from all storage devices without making
>> or otherwise retaining a copy.
>>

本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作! This communication is intended only for the addressee(s) and may contain information that is privileged and confidential. You are hereby notified that, if you are not an intended recipient listed above, or an authorized employee or agent of an addressee of this communication responsible for delivering e-mail messages to an intended recipient, any dissemination, distribution or reproduction of this communication (including any attachments hereto) is strictly prohibited. If you have received this communication in error, please notify us immediately by a reply e-mail addressed to the sender and permanently delete the original e-mail communication and any attachments from all storage devices without making or otherwise retaining a copy.

---------------------------------------------------------------------
To unsubscribe, e-mail: hdfs-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: hdfs-dev-help@hadoop.apache.org


Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by "Wu,Jianliang(vip.com)" <ji...@vipshop.com>.
Ok, I will file a HDFS jira to report this issue.


> 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
>
> Thanks Jialiang for reporting the issue.
> That sounds bad and should've not happened. Could you file a HDFS jira and
> fill in more details?
>
> On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
> jianliang.wu@vipshop.com> wrote:
>
>> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
>> 2.6,  we found hive to call getContentSummary method , the client and
>> server was not compatible  because of hadoop3 added new PROVIDED storage
>> type.
>>
>> 2020年10月13日 06:41,Chao Sun <su...@apache.org>>
>> 写道:
>>
>>
>>
>> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
>> This communication is intended only for the addressee(s) and may contain
>> information that is privileged and confidential. You are hereby notified
>> that, if you are not an intended recipient listed above, or an authorized
>> employee or agent of an addressee of this communication responsible for
>> delivering e-mail messages to an intended recipient, any dissemination,
>> distribution or reproduction of this communication (including any
>> attachments hereto) is strictly prohibited. If you have received this
>> communication in error, please notify us immediately by a reply e-mail
>> addressed to the sender and permanently delete the original e-mail
>> communication and any attachments from all storage devices without making
>> or otherwise retaining a copy.
>>

本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作! This communication is intended only for the addressee(s) and may contain information that is privileged and confidential. You are hereby notified that, if you are not an intended recipient listed above, or an authorized employee or agent of an addressee of this communication responsible for delivering e-mail messages to an intended recipient, any dissemination, distribution or reproduction of this communication (including any attachments hereto) is strictly prohibited. If you have received this communication in error, please notify us immediately by a reply e-mail addressed to the sender and permanently delete the original e-mail communication and any attachments from all storage devices without making or otherwise retaining a copy.

---------------------------------------------------------------------
To unsubscribe, e-mail: yarn-dev-unsubscribe@hadoop.apache.org
For additional commands, e-mail: yarn-dev-help@hadoop.apache.org


Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Chao Sun <su...@apache.org>.
Steve, yes that is my understanding as well, although from my experience
ppl usually prefer RPC in prod for better performance.

On Tue, Oct 20, 2020 at 8:51 AM Steve Loughran <st...@cloudera.com> wrote:

> I have this belief that webhdfs:// is better for cross-version
> compatibility. That right?
>
> On Fri, 16 Oct 2020 at 19:59, Chao Sun <su...@apache.org> wrote:
>
>> Thanks for the replies all!
>>
>> > But in the opposite case, it might have problem, because 2.x server may
>> not understand new client calls added in 3.x
>>
>> Yes not expecting this to work. I'm thinking about the case where one
>> upgrades existing 2.x clients to 3.x and expects it to still work against
>> 2.x server, which should not involve those new APIs.
>>
>> > Another backcompat issue was HDFS-15191, in 3.2.1.
>>
>> Thanks for pointing this out! In fact this looks like a serious bug in
>> 3.2.1. Glad to see it is fixed in 3.2.2.
>>
>> > But aside from that, we've been using 3x client libraries against both
>> 2x
>> and 3x clusters without issue.
>>
>> Great! thanks.
>>
>> IMO it will be great if the community maintains official compatibility doc
>> w.r.t 2.x/3.x, which can help the migration easier.
>>
>> Chao
>>
>> On Tue, Oct 13, 2020 at 11:57 PM Wu,Jianliang(vip.com) <
>> jianliang.wu@vipshop.com> wrote:
>>
>> > Ok, I will file a HDFS jira to report this issue.
>> >
>> > > 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
>> > >
>> > > Thanks Jialiang for reporting the issue.
>> > > That sounds bad and should've not happened. Could you file a HDFS jira
>> > and
>> > > fill in more details?
>> > >
>> > > On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
>> > > jianliang.wu@vipshop.com> wrote:
>> > >
>> > >> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
>> > >> 2.6,  we found hive to call getContentSummary method , the client and
>> > >> server was not compatible  because of hadoop3 added new PROVIDED
>> storage
>> > >> type.
>> > >>
>> > >> 2020年10月13日 06:41,Chao Sun <sunchao@apache.org<mailto:
>> > sunchao@apache.org>>
>> > >> 写道:
>> > >>
>> > >>
>> > >>
>> > >>
>> >
>> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
>> > >> This communication is intended only for the addressee(s) and may
>> contain
>> > >> information that is privileged and confidential. You are hereby
>> notified
>> > >> that, if you are not an intended recipient listed above, or an
>> > authorized
>> > >> employee or agent of an addressee of this communication responsible
>> for
>> > >> delivering e-mail messages to an intended recipient, any
>> dissemination,
>> > >> distribution or reproduction of this communication (including any
>> > >> attachments hereto) is strictly prohibited. If you have received this
>> > >> communication in error, please notify us immediately by a reply
>> e-mail
>> > >> addressed to the sender and permanently delete the original e-mail
>> > >> communication and any attachments from all storage devices without
>> > making
>> > >> or otherwise retaining a copy.
>> > >>
>> >
>> >
>> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
>> > This communication is intended only for the addressee(s) and may contain
>> > information that is privileged and confidential. You are hereby notified
>> > that, if you are not an intended recipient listed above, or an
>> authorized
>> > employee or agent of an addressee of this communication responsible for
>> > delivering e-mail messages to an intended recipient, any dissemination,
>> > distribution or reproduction of this communication (including any
>> > attachments hereto) is strictly prohibited. If you have received this
>> > communication in error, please notify us immediately by a reply e-mail
>> > addressed to the sender and permanently delete the original e-mail
>> > communication and any attachments from all storage devices without
>> making
>> > or otherwise retaining a copy.
>> >
>>
>

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Chao Sun <su...@apache.org>.
Steve, yes that is my understanding as well, although from my experience
ppl usually prefer RPC in prod for better performance.

On Tue, Oct 20, 2020 at 8:51 AM Steve Loughran <st...@cloudera.com> wrote:

> I have this belief that webhdfs:// is better for cross-version
> compatibility. That right?
>
> On Fri, 16 Oct 2020 at 19:59, Chao Sun <su...@apache.org> wrote:
>
>> Thanks for the replies all!
>>
>> > But in the opposite case, it might have problem, because 2.x server may
>> not understand new client calls added in 3.x
>>
>> Yes not expecting this to work. I'm thinking about the case where one
>> upgrades existing 2.x clients to 3.x and expects it to still work against
>> 2.x server, which should not involve those new APIs.
>>
>> > Another backcompat issue was HDFS-15191, in 3.2.1.
>>
>> Thanks for pointing this out! In fact this looks like a serious bug in
>> 3.2.1. Glad to see it is fixed in 3.2.2.
>>
>> > But aside from that, we've been using 3x client libraries against both
>> 2x
>> and 3x clusters without issue.
>>
>> Great! thanks.
>>
>> IMO it will be great if the community maintains official compatibility doc
>> w.r.t 2.x/3.x, which can help the migration easier.
>>
>> Chao
>>
>> On Tue, Oct 13, 2020 at 11:57 PM Wu,Jianliang(vip.com) <
>> jianliang.wu@vipshop.com> wrote:
>>
>> > Ok, I will file a HDFS jira to report this issue.
>> >
>> > > 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
>> > >
>> > > Thanks Jialiang for reporting the issue.
>> > > That sounds bad and should've not happened. Could you file a HDFS jira
>> > and
>> > > fill in more details?
>> > >
>> > > On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
>> > > jianliang.wu@vipshop.com> wrote:
>> > >
>> > >> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
>> > >> 2.6,  we found hive to call getContentSummary method , the client and
>> > >> server was not compatible  because of hadoop3 added new PROVIDED
>> storage
>> > >> type.
>> > >>
>> > >> 2020年10月13日 06:41,Chao Sun <sunchao@apache.org<mailto:
>> > sunchao@apache.org>>
>> > >> 写道:
>> > >>
>> > >>
>> > >>
>> > >>
>> >
>> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
>> > >> This communication is intended only for the addressee(s) and may
>> contain
>> > >> information that is privileged and confidential. You are hereby
>> notified
>> > >> that, if you are not an intended recipient listed above, or an
>> > authorized
>> > >> employee or agent of an addressee of this communication responsible
>> for
>> > >> delivering e-mail messages to an intended recipient, any
>> dissemination,
>> > >> distribution or reproduction of this communication (including any
>> > >> attachments hereto) is strictly prohibited. If you have received this
>> > >> communication in error, please notify us immediately by a reply
>> e-mail
>> > >> addressed to the sender and permanently delete the original e-mail
>> > >> communication and any attachments from all storage devices without
>> > making
>> > >> or otherwise retaining a copy.
>> > >>
>> >
>> >
>> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
>> > This communication is intended only for the addressee(s) and may contain
>> > information that is privileged and confidential. You are hereby notified
>> > that, if you are not an intended recipient listed above, or an
>> authorized
>> > employee or agent of an addressee of this communication responsible for
>> > delivering e-mail messages to an intended recipient, any dissemination,
>> > distribution or reproduction of this communication (including any
>> > attachments hereto) is strictly prohibited. If you have received this
>> > communication in error, please notify us immediately by a reply e-mail
>> > addressed to the sender and permanently delete the original e-mail
>> > communication and any attachments from all storage devices without
>> making
>> > or otherwise retaining a copy.
>> >
>>
>

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Steve Loughran <st...@cloudera.com.INVALID>.
I have this belief that webhdfs:// is better for cross-version
compatibility. That right?

On Fri, 16 Oct 2020 at 19:59, Chao Sun <su...@apache.org> wrote:

> Thanks for the replies all!
>
> > But in the opposite case, it might have problem, because 2.x server may
> not understand new client calls added in 3.x
>
> Yes not expecting this to work. I'm thinking about the case where one
> upgrades existing 2.x clients to 3.x and expects it to still work against
> 2.x server, which should not involve those new APIs.
>
> > Another backcompat issue was HDFS-15191, in 3.2.1.
>
> Thanks for pointing this out! In fact this looks like a serious bug in
> 3.2.1. Glad to see it is fixed in 3.2.2.
>
> > But aside from that, we've been using 3x client libraries against both 2x
> and 3x clusters without issue.
>
> Great! thanks.
>
> IMO it will be great if the community maintains official compatibility doc
> w.r.t 2.x/3.x, which can help the migration easier.
>
> Chao
>
> On Tue, Oct 13, 2020 at 11:57 PM Wu,Jianliang(vip.com) <
> jianliang.wu@vipshop.com> wrote:
>
> > Ok, I will file a HDFS jira to report this issue.
> >
> > > 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
> > >
> > > Thanks Jialiang for reporting the issue.
> > > That sounds bad and should've not happened. Could you file a HDFS jira
> > and
> > > fill in more details?
> > >
> > > On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
> > > jianliang.wu@vipshop.com> wrote:
> > >
> > >> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
> > >> 2.6,  we found hive to call getContentSummary method , the client and
> > >> server was not compatible  because of hadoop3 added new PROVIDED
> storage
> > >> type.
> > >>
> > >> 2020年10月13日 06:41,Chao Sun <sunchao@apache.org<mailto:
> > sunchao@apache.org>>
> > >> 写道:
> > >>
> > >>
> > >>
> > >>
> >
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> > >> This communication is intended only for the addressee(s) and may
> contain
> > >> information that is privileged and confidential. You are hereby
> notified
> > >> that, if you are not an intended recipient listed above, or an
> > authorized
> > >> employee or agent of an addressee of this communication responsible
> for
> > >> delivering e-mail messages to an intended recipient, any
> dissemination,
> > >> distribution or reproduction of this communication (including any
> > >> attachments hereto) is strictly prohibited. If you have received this
> > >> communication in error, please notify us immediately by a reply e-mail
> > >> addressed to the sender and permanently delete the original e-mail
> > >> communication and any attachments from all storage devices without
> > making
> > >> or otherwise retaining a copy.
> > >>
> >
> >
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> > This communication is intended only for the addressee(s) and may contain
> > information that is privileged and confidential. You are hereby notified
> > that, if you are not an intended recipient listed above, or an authorized
> > employee or agent of an addressee of this communication responsible for
> > delivering e-mail messages to an intended recipient, any dissemination,
> > distribution or reproduction of this communication (including any
> > attachments hereto) is strictly prohibited. If you have received this
> > communication in error, please notify us immediately by a reply e-mail
> > addressed to the sender and permanently delete the original e-mail
> > communication and any attachments from all storage devices without making
> > or otherwise retaining a copy.
> >
>

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Steve Loughran <st...@cloudera.com.INVALID>.
I have this belief that webhdfs:// is better for cross-version
compatibility. That right?

On Fri, 16 Oct 2020 at 19:59, Chao Sun <su...@apache.org> wrote:

> Thanks for the replies all!
>
> > But in the opposite case, it might have problem, because 2.x server may
> not understand new client calls added in 3.x
>
> Yes not expecting this to work. I'm thinking about the case where one
> upgrades existing 2.x clients to 3.x and expects it to still work against
> 2.x server, which should not involve those new APIs.
>
> > Another backcompat issue was HDFS-15191, in 3.2.1.
>
> Thanks for pointing this out! In fact this looks like a serious bug in
> 3.2.1. Glad to see it is fixed in 3.2.2.
>
> > But aside from that, we've been using 3x client libraries against both 2x
> and 3x clusters without issue.
>
> Great! thanks.
>
> IMO it will be great if the community maintains official compatibility doc
> w.r.t 2.x/3.x, which can help the migration easier.
>
> Chao
>
> On Tue, Oct 13, 2020 at 11:57 PM Wu,Jianliang(vip.com) <
> jianliang.wu@vipshop.com> wrote:
>
> > Ok, I will file a HDFS jira to report this issue.
> >
> > > 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
> > >
> > > Thanks Jialiang for reporting the issue.
> > > That sounds bad and should've not happened. Could you file a HDFS jira
> > and
> > > fill in more details?
> > >
> > > On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
> > > jianliang.wu@vipshop.com> wrote:
> > >
> > >> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
> > >> 2.6,  we found hive to call getContentSummary method , the client and
> > >> server was not compatible  because of hadoop3 added new PROVIDED
> storage
> > >> type.
> > >>
> > >> 2020年10月13日 06:41,Chao Sun <sunchao@apache.org<mailto:
> > sunchao@apache.org>>
> > >> 写道:
> > >>
> > >>
> > >>
> > >>
> >
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> > >> This communication is intended only for the addressee(s) and may
> contain
> > >> information that is privileged and confidential. You are hereby
> notified
> > >> that, if you are not an intended recipient listed above, or an
> > authorized
> > >> employee or agent of an addressee of this communication responsible
> for
> > >> delivering e-mail messages to an intended recipient, any
> dissemination,
> > >> distribution or reproduction of this communication (including any
> > >> attachments hereto) is strictly prohibited. If you have received this
> > >> communication in error, please notify us immediately by a reply e-mail
> > >> addressed to the sender and permanently delete the original e-mail
> > >> communication and any attachments from all storage devices without
> > making
> > >> or otherwise retaining a copy.
> > >>
> >
> >
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> > This communication is intended only for the addressee(s) and may contain
> > information that is privileged and confidential. You are hereby notified
> > that, if you are not an intended recipient listed above, or an authorized
> > employee or agent of an addressee of this communication responsible for
> > delivering e-mail messages to an intended recipient, any dissemination,
> > distribution or reproduction of this communication (including any
> > attachments hereto) is strictly prohibited. If you have received this
> > communication in error, please notify us immediately by a reply e-mail
> > addressed to the sender and permanently delete the original e-mail
> > communication and any attachments from all storage devices without making
> > or otherwise retaining a copy.
> >
>

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Chao Sun <su...@apache.org>.
Thanks for the replies all!

> But in the opposite case, it might have problem, because 2.x server may
not understand new client calls added in 3.x

Yes not expecting this to work. I'm thinking about the case where one
upgrades existing 2.x clients to 3.x and expects it to still work against
2.x server, which should not involve those new APIs.

> Another backcompat issue was HDFS-15191, in 3.2.1.

Thanks for pointing this out! In fact this looks like a serious bug in
3.2.1. Glad to see it is fixed in 3.2.2.

> But aside from that, we've been using 3x client libraries against both 2x
and 3x clusters without issue.

Great! thanks.

IMO it will be great if the community maintains official compatibility doc
w.r.t 2.x/3.x, which can help the migration easier.

Chao

On Tue, Oct 13, 2020 at 11:57 PM Wu,Jianliang(vip.com) <
jianliang.wu@vipshop.com> wrote:

> Ok, I will file a HDFS jira to report this issue.
>
> > 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
> >
> > Thanks Jialiang for reporting the issue.
> > That sounds bad and should've not happened. Could you file a HDFS jira
> and
> > fill in more details?
> >
> > On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
> > jianliang.wu@vipshop.com> wrote:
> >
> >> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
> >> 2.6,  we found hive to call getContentSummary method , the client and
> >> server was not compatible  because of hadoop3 added new PROVIDED storage
> >> type.
> >>
> >> 2020年10月13日 06:41,Chao Sun <sunchao@apache.org<mailto:
> sunchao@apache.org>>
> >> 写道:
> >>
> >>
> >>
> >>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> >> This communication is intended only for the addressee(s) and may contain
> >> information that is privileged and confidential. You are hereby notified
> >> that, if you are not an intended recipient listed above, or an
> authorized
> >> employee or agent of an addressee of this communication responsible for
> >> delivering e-mail messages to an intended recipient, any dissemination,
> >> distribution or reproduction of this communication (including any
> >> attachments hereto) is strictly prohibited. If you have received this
> >> communication in error, please notify us immediately by a reply e-mail
> >> addressed to the sender and permanently delete the original e-mail
> >> communication and any attachments from all storage devices without
> making
> >> or otherwise retaining a copy.
> >>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an authorized
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without making
> or otherwise retaining a copy.
>

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Chao Sun <su...@apache.org>.
Thanks for the replies all!

> But in the opposite case, it might have problem, because 2.x server may
not understand new client calls added in 3.x

Yes not expecting this to work. I'm thinking about the case where one
upgrades existing 2.x clients to 3.x and expects it to still work against
2.x server, which should not involve those new APIs.

> Another backcompat issue was HDFS-15191, in 3.2.1.

Thanks for pointing this out! In fact this looks like a serious bug in
3.2.1. Glad to see it is fixed in 3.2.2.

> But aside from that, we've been using 3x client libraries against both 2x
and 3x clusters without issue.

Great! thanks.

IMO it will be great if the community maintains official compatibility doc
w.r.t 2.x/3.x, which can help the migration easier.

Chao

On Tue, Oct 13, 2020 at 11:57 PM Wu,Jianliang(vip.com) <
jianliang.wu@vipshop.com> wrote:

> Ok, I will file a HDFS jira to report this issue.
>
> > 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
> >
> > Thanks Jialiang for reporting the issue.
> > That sounds bad and should've not happened. Could you file a HDFS jira
> and
> > fill in more details?
> >
> > On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
> > jianliang.wu@vipshop.com> wrote:
> >
> >> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
> >> 2.6,  we found hive to call getContentSummary method , the client and
> >> server was not compatible  because of hadoop3 added new PROVIDED storage
> >> type.
> >>
> >> 2020年10月13日 06:41,Chao Sun <sunchao@apache.org<mailto:
> sunchao@apache.org>>
> >> 写道:
> >>
> >>
> >>
> >>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> >> This communication is intended only for the addressee(s) and may contain
> >> information that is privileged and confidential. You are hereby notified
> >> that, if you are not an intended recipient listed above, or an
> authorized
> >> employee or agent of an addressee of this communication responsible for
> >> delivering e-mail messages to an intended recipient, any dissemination,
> >> distribution or reproduction of this communication (including any
> >> attachments hereto) is strictly prohibited. If you have received this
> >> communication in error, please notify us immediately by a reply e-mail
> >> addressed to the sender and permanently delete the original e-mail
> >> communication and any attachments from all storage devices without
> making
> >> or otherwise retaining a copy.
> >>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an authorized
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without making
> or otherwise retaining a copy.
>

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Chao Sun <su...@apache.org>.
Thanks for the replies all!

> But in the opposite case, it might have problem, because 2.x server may
not understand new client calls added in 3.x

Yes not expecting this to work. I'm thinking about the case where one
upgrades existing 2.x clients to 3.x and expects it to still work against
2.x server, which should not involve those new APIs.

> Another backcompat issue was HDFS-15191, in 3.2.1.

Thanks for pointing this out! In fact this looks like a serious bug in
3.2.1. Glad to see it is fixed in 3.2.2.

> But aside from that, we've been using 3x client libraries against both 2x
and 3x clusters without issue.

Great! thanks.

IMO it will be great if the community maintains official compatibility doc
w.r.t 2.x/3.x, which can help the migration easier.

Chao

On Tue, Oct 13, 2020 at 11:57 PM Wu,Jianliang(vip.com) <
jianliang.wu@vipshop.com> wrote:

> Ok, I will file a HDFS jira to report this issue.
>
> > 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
> >
> > Thanks Jialiang for reporting the issue.
> > That sounds bad and should've not happened. Could you file a HDFS jira
> and
> > fill in more details?
> >
> > On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
> > jianliang.wu@vipshop.com> wrote:
> >
> >> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
> >> 2.6,  we found hive to call getContentSummary method , the client and
> >> server was not compatible  because of hadoop3 added new PROVIDED storage
> >> type.
> >>
> >> 2020年10月13日 06:41,Chao Sun <sunchao@apache.org<mailto:
> sunchao@apache.org>>
> >> 写道:
> >>
> >>
> >>
> >>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> >> This communication is intended only for the addressee(s) and may contain
> >> information that is privileged and confidential. You are hereby notified
> >> that, if you are not an intended recipient listed above, or an
> authorized
> >> employee or agent of an addressee of this communication responsible for
> >> delivering e-mail messages to an intended recipient, any dissemination,
> >> distribution or reproduction of this communication (including any
> >> attachments hereto) is strictly prohibited. If you have received this
> >> communication in error, please notify us immediately by a reply e-mail
> >> addressed to the sender and permanently delete the original e-mail
> >> communication and any attachments from all storage devices without
> making
> >> or otherwise retaining a copy.
> >>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an authorized
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without making
> or otherwise retaining a copy.
>

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by "Wu,Jianliang(vip.com)" <ji...@vipshop.com>.
Ok, I will file a HDFS jira to report this issue.

> 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
>
> Thanks Jialiang for reporting the issue.
> That sounds bad and should've not happened. Could you file a HDFS jira and
> fill in more details?
>
> On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
> jianliang.wu@vipshop.com> wrote:
>
>> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
>> 2.6,  we found hive to call getContentSummary method , the client and
>> server was not compatible  because of hadoop3 added new PROVIDED storage
>> type.
>>
>> 2020年10月13日 06:41,Chao Sun <su...@apache.org>>
>> 写道:
>>
>>
>>
>> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
>> This communication is intended only for the addressee(s) and may contain
>> information that is privileged and confidential. You are hereby notified
>> that, if you are not an intended recipient listed above, or an authorized
>> employee or agent of an addressee of this communication responsible for
>> delivering e-mail messages to an intended recipient, any dissemination,
>> distribution or reproduction of this communication (including any
>> attachments hereto) is strictly prohibited. If you have received this
>> communication in error, please notify us immediately by a reply e-mail
>> addressed to the sender and permanently delete the original e-mail
>> communication and any attachments from all storage devices without making
>> or otherwise retaining a copy.
>>

本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作! This communication is intended only for the addressee(s) and may contain information that is privileged and confidential. You are hereby notified that, if you are not an intended recipient listed above, or an authorized employee or agent of an addressee of this communication responsible for delivering e-mail messages to an intended recipient, any dissemination, distribution or reproduction of this communication (including any attachments hereto) is strictly prohibited. If you have received this communication in error, please notify us immediately by a reply e-mail addressed to the sender and permanently delete the original e-mail communication and any attachments from all storage devices without making or otherwise retaining a copy.

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Steven Rand <sr...@palantir.com.INVALID>.
Another backcompat issue was HDFS-15191, in 3.2.1.

But aside from that, we've been using 3x client libraries against both 2x and 3x clusters without issue.

On 10/13/20, 2:43 PM, "Wei-Chiu Chuang" <we...@cloudera.com.INVALID> wrote:

    CAUTION: This email originates from an external party (outside of Palantir). If you believe this message is suspicious in nature, please use the "Report Phishing" button built into Outlook.


    Thanks Jialiang for reporting the issue.
    That sounds bad and should've not happened. Could you file a HDFS jira and
    fill in more details?

    On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
    jianliang.wu@vipshop.com> wrote:

    > In our case, when nn has upgraded to 3.1.3 and dn’s version was still
    > 2.6,  we found hive to call getContentSummary method , the client and
    > server was not compatible  because of hadoop3 added new PROVIDED storage
    > type.
    >
    > 2020年10月13日 06:41,Chao Sun <su...@apache.org>>
    > 写道:
    >
    >
    >
    > 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
    > This communication is intended only for the addressee(s) and may contain
    > information that is privileged and confidential. You are hereby notified
    > that, if you are not an intended recipient listed above, or an authorized
    > employee or agent of an addressee of this communication responsible for
    > delivering e-mail messages to an intended recipient, any dissemination,
    > distribution or reproduction of this communication (including any
    > attachments hereto) is strictly prohibited. If you have received this
    > communication in error, please notify us immediately by a reply e-mail
    > addressed to the sender and permanently delete the original e-mail
    > communication and any attachments from all storage devices without making
    > or otherwise retaining a copy.
    >


Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Steven Rand <sr...@palantir.com.INVALID>.
Another backcompat issue was HDFS-15191, in 3.2.1.

But aside from that, we've been using 3x client libraries against both 2x and 3x clusters without issue.

On 10/13/20, 2:43 PM, "Wei-Chiu Chuang" <we...@cloudera.com.INVALID> wrote:

    CAUTION: This email originates from an external party (outside of Palantir). If you believe this message is suspicious in nature, please use the "Report Phishing" button built into Outlook.


    Thanks Jialiang for reporting the issue.
    That sounds bad and should've not happened. Could you file a HDFS jira and
    fill in more details?

    On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
    jianliang.wu@vipshop.com> wrote:

    > In our case, when nn has upgraded to 3.1.3 and dn’s version was still
    > 2.6,  we found hive to call getContentSummary method , the client and
    > server was not compatible  because of hadoop3 added new PROVIDED storage
    > type.
    >
    > 2020年10月13日 06:41,Chao Sun <su...@apache.org>>
    > 写道:
    >
    >
    >
    > 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
    > This communication is intended only for the addressee(s) and may contain
    > information that is privileged and confidential. You are hereby notified
    > that, if you are not an intended recipient listed above, or an authorized
    > employee or agent of an addressee of this communication responsible for
    > delivering e-mail messages to an intended recipient, any dissemination,
    > distribution or reproduction of this communication (including any
    > attachments hereto) is strictly prohibited. If you have received this
    > communication in error, please notify us immediately by a reply e-mail
    > addressed to the sender and permanently delete the original e-mail
    > communication and any attachments from all storage devices without making
    > or otherwise retaining a copy.
    >


Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Steven Rand <sr...@palantir.com.INVALID>.
Another backcompat issue was HDFS-15191, in 3.2.1.

But aside from that, we've been using 3x client libraries against both 2x and 3x clusters without issue.

On 10/13/20, 2:43 PM, "Wei-Chiu Chuang" <we...@cloudera.com.INVALID> wrote:

    CAUTION: This email originates from an external party (outside of Palantir). If you believe this message is suspicious in nature, please use the "Report Phishing" button built into Outlook.


    Thanks Jialiang for reporting the issue.
    That sounds bad and should've not happened. Could you file a HDFS jira and
    fill in more details?

    On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
    jianliang.wu@vipshop.com> wrote:

    > In our case, when nn has upgraded to 3.1.3 and dn’s version was still
    > 2.6,  we found hive to call getContentSummary method , the client and
    > server was not compatible  because of hadoop3 added new PROVIDED storage
    > type.
    >
    > 2020年10月13日 06:41,Chao Sun <su...@apache.org>>
    > 写道:
    >
    >
    >
    > 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
    > This communication is intended only for the addressee(s) and may contain
    > information that is privileged and confidential. You are hereby notified
    > that, if you are not an intended recipient listed above, or an authorized
    > employee or agent of an addressee of this communication responsible for
    > delivering e-mail messages to an intended recipient, any dissemination,
    > distribution or reproduction of this communication (including any
    > attachments hereto) is strictly prohibited. If you have received this
    > communication in error, please notify us immediately by a reply e-mail
    > addressed to the sender and permanently delete the original e-mail
    > communication and any attachments from all storage devices without making
    > or otherwise retaining a copy.
    >


Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by "Wu,Jianliang(vip.com)" <ji...@vipshop.com>.
Ok, I will file a HDFS jira to report this issue.

> 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
>
> Thanks Jialiang for reporting the issue.
> That sounds bad and should've not happened. Could you file a HDFS jira and
> fill in more details?
>
> On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
> jianliang.wu@vipshop.com> wrote:
>
>> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
>> 2.6,  we found hive to call getContentSummary method , the client and
>> server was not compatible  because of hadoop3 added new PROVIDED storage
>> type.
>>
>> 2020年10月13日 06:41,Chao Sun <su...@apache.org>>
>> 写道:
>>
>>
>>
>> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
>> This communication is intended only for the addressee(s) and may contain
>> information that is privileged and confidential. You are hereby notified
>> that, if you are not an intended recipient listed above, or an authorized
>> employee or agent of an addressee of this communication responsible for
>> delivering e-mail messages to an intended recipient, any dissemination,
>> distribution or reproduction of this communication (including any
>> attachments hereto) is strictly prohibited. If you have received this
>> communication in error, please notify us immediately by a reply e-mail
>> addressed to the sender and permanently delete the original e-mail
>> communication and any attachments from all storage devices without making
>> or otherwise retaining a copy.
>>

本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作! This communication is intended only for the addressee(s) and may contain information that is privileged and confidential. You are hereby notified that, if you are not an intended recipient listed above, or an authorized employee or agent of an addressee of this communication responsible for delivering e-mail messages to an intended recipient, any dissemination, distribution or reproduction of this communication (including any attachments hereto) is strictly prohibited. If you have received this communication in error, please notify us immediately by a reply e-mail addressed to the sender and permanently delete the original e-mail communication and any attachments from all storage devices without making or otherwise retaining a copy.

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by "Wu,Jianliang(vip.com)" <ji...@vipshop.com>.
Ok, I will file a HDFS jira to report this issue.

> 2020年10月13日 20:43,Wei-Chiu Chuang <we...@cloudera.com.INVALID> 写道:
>
> Thanks Jialiang for reporting the issue.
> That sounds bad and should've not happened. Could you file a HDFS jira and
> fill in more details?
>
> On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
> jianliang.wu@vipshop.com> wrote:
>
>> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
>> 2.6,  we found hive to call getContentSummary method , the client and
>> server was not compatible  because of hadoop3 added new PROVIDED storage
>> type.
>>
>> 2020年10月13日 06:41,Chao Sun <su...@apache.org>>
>> 写道:
>>
>>
>>
>> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
>> This communication is intended only for the addressee(s) and may contain
>> information that is privileged and confidential. You are hereby notified
>> that, if you are not an intended recipient listed above, or an authorized
>> employee or agent of an addressee of this communication responsible for
>> delivering e-mail messages to an intended recipient, any dissemination,
>> distribution or reproduction of this communication (including any
>> attachments hereto) is strictly prohibited. If you have received this
>> communication in error, please notify us immediately by a reply e-mail
>> addressed to the sender and permanently delete the original e-mail
>> communication and any attachments from all storage devices without making
>> or otherwise retaining a copy.
>>

本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作! This communication is intended only for the addressee(s) and may contain information that is privileged and confidential. You are hereby notified that, if you are not an intended recipient listed above, or an authorized employee or agent of an addressee of this communication responsible for delivering e-mail messages to an intended recipient, any dissemination, distribution or reproduction of this communication (including any attachments hereto) is strictly prohibited. If you have received this communication in error, please notify us immediately by a reply e-mail addressed to the sender and permanently delete the original e-mail communication and any attachments from all storage devices without making or otherwise retaining a copy.

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Wei-Chiu Chuang <we...@cloudera.com.INVALID>.
Thanks Jialiang for reporting the issue.
That sounds bad and should've not happened. Could you file a HDFS jira and
fill in more details?

On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
jianliang.wu@vipshop.com> wrote:

> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
> 2.6,  we found hive to call getContentSummary method , the client and
> server was not compatible  because of hadoop3 added new PROVIDED storage
> type.
>
> 2020年10月13日 06:41,Chao Sun <su...@apache.org>>
> 写道:
>
>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an authorized
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without making
> or otherwise retaining a copy.
>

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Wei-Chiu Chuang <we...@cloudera.com.INVALID>.
Thanks Jialiang for reporting the issue.
That sounds bad and should've not happened. Could you file a HDFS jira and
fill in more details?

On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
jianliang.wu@vipshop.com> wrote:

> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
> 2.6,  we found hive to call getContentSummary method , the client and
> server was not compatible  because of hadoop3 added new PROVIDED storage
> type.
>
> 2020年10月13日 06:41,Chao Sun <su...@apache.org>>
> 写道:
>
>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an authorized
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without making
> or otherwise retaining a copy.
>

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Wei-Chiu Chuang <we...@cloudera.com.INVALID>.
Thanks Jialiang for reporting the issue.
That sounds bad and should've not happened. Could you file a HDFS jira and
fill in more details?

On Mon, Oct 12, 2020 at 8:59 PM Wu,Jianliang(vip.com) <
jianliang.wu@vipshop.com> wrote:

> In our case, when nn has upgraded to 3.1.3 and dn’s version was still
> 2.6,  we found hive to call getContentSummary method , the client and
> server was not compatible  because of hadoop3 added new PROVIDED storage
> type.
>
> 2020年10月13日 06:41,Chao Sun <su...@apache.org>>
> 写道:
>
>
>
> 本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作!
> This communication is intended only for the addressee(s) and may contain
> information that is privileged and confidential. You are hereby notified
> that, if you are not an intended recipient listed above, or an authorized
> employee or agent of an addressee of this communication responsible for
> delivering e-mail messages to an intended recipient, any dissemination,
> distribution or reproduction of this communication (including any
> attachments hereto) is strictly prohibited. If you have received this
> communication in error, please notify us immediately by a reply e-mail
> addressed to the sender and permanently delete the original e-mail
> communication and any attachments from all storage devices without making
> or otherwise retaining a copy.
>

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by "Wu,Jianliang(vip.com)" <ji...@vipshop.com>.
In our case, when nn has upgraded to 3.1.3 and dn’s version was still 2.6,  we found hive to call getContentSummary method , the client and server was not compatible  because of hadoop3 added new PROVIDED storage type.

2020年10月13日 06:41,Chao Sun <su...@apache.org>> 写道:



本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作! This communication is intended only for the addressee(s) and may contain information that is privileged and confidential. You are hereby notified that, if you are not an intended recipient listed above, or an authorized employee or agent of an addressee of this communication responsible for delivering e-mail messages to an intended recipient, any dissemination, distribution or reproduction of this communication (including any attachments hereto) is strictly prohibited. If you have received this communication in error, please notify us immediately by a reply e-mail addressed to the sender and permanently delete the original e-mail communication and any attachments from all storage devices without making or otherwise retaining a copy.

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by "Wu,Jianliang(vip.com)" <ji...@vipshop.com>.
In our case, when nn has upgraded to 3.1.3 and dn’s version was still 2.6,  we found hive to call getContentSummary method , the client and server was not compatible  because of hadoop3 added new PROVIDED storage type.

2020年10月13日 06:41,Chao Sun <su...@apache.org>> 写道:



本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作! This communication is intended only for the addressee(s) and may contain information that is privileged and confidential. You are hereby notified that, if you are not an intended recipient listed above, or an authorized employee or agent of an addressee of this communication responsible for delivering e-mail messages to an intended recipient, any dissemination, distribution or reproduction of this communication (including any attachments hereto) is strictly prohibited. If you have received this communication in error, please notify us immediately by a reply e-mail addressed to the sender and permanently delete the original e-mail communication and any attachments from all storage devices without making or otherwise retaining a copy.

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by "Wu,Jianliang(vip.com)" <ji...@vipshop.com>.
In our case, when nn has upgraded to 3.1.3 and dn’s version was still 2.6,  we found hive to call getContentSummary method , the client and server was not compatible  because of hadoop3 added new PROVIDED storage type.

2020年10月13日 06:41,Chao Sun <su...@apache.org>> 写道:



本电子邮件可能为保密文件。如果阁下非电子邮件所指定之收件人,谨请立即通知本人。敬请阁下不要使用、保存、复印、打印、散布本电子邮件及其内容,或将其用于其他任何目的或向任何人披露。谢谢您的合作! This communication is intended only for the addressee(s) and may contain information that is privileged and confidential. You are hereby notified that, if you are not an intended recipient listed above, or an authorized employee or agent of an addressee of this communication responsible for delivering e-mail messages to an intended recipient, any dissemination, distribution or reproduction of this communication (including any attachments hereto) is strictly prohibited. If you have received this communication in error, please notify us immediately by a reply e-mail addressed to the sender and permanently delete the original e-mail communication and any attachments from all storage devices without making or otherwise retaining a copy.

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Zhenyu Zheng <zh...@gmail.com>.
Hi,

I'm not a Hadoop expert but I've had some experiences in the cloud
infrastructure that I think also makes sense in your case.
For 2.x client + 3.x Server case, the Server side can obviously provide
compatibility, so it should work fine. But in the opposite case,
it might have problem, because 2.x server may not understand new client
calls added in 3.x, for old calls, it should work fine, but
if some internal implementation has changed, it might also be a problem, so
you might have to check case by case.

BR,

On Tue, Oct 13, 2020 at 6:41 AM Chao Sun <su...@apache.org> wrote:

> Hi community,
>
> Does Hadoop 3.x provide wire compatibility between 3.x clients and 2.x
> server? There is a blog post from Cloudera [1] mentioning wire
> compatibility between 2.x clients and 3.x server, but not the other
> direction. Curious if someone knows this. Also it'd be good to know if
> someone is running this setup in prod. Thanks!
>
> Chao
>
> [1]:
> https://blog.cloudera.com/upgrading-clusters-workloads-hadoop-2-hadoop-3
>

Re: Wire compatibility between Hadoop 3.x client and 2.x server

Posted by Zhenyu Zheng <zh...@gmail.com>.
Hi,

I'm not a Hadoop expert but I've had some experiences in the cloud
infrastructure that I think also makes sense in your case.
For 2.x client + 3.x Server case, the Server side can obviously provide
compatibility, so it should work fine. But in the opposite case,
it might have problem, because 2.x server may not understand new client
calls added in 3.x, for old calls, it should work fine, but
if some internal implementation has changed, it might also be a problem, so
you might have to check case by case.

BR,

On Tue, Oct 13, 2020 at 6:41 AM Chao Sun <su...@apache.org> wrote:

> Hi community,
>
> Does Hadoop 3.x provide wire compatibility between 3.x clients and 2.x
> server? There is a blog post from Cloudera [1] mentioning wire
> compatibility between 2.x clients and 3.x server, but not the other
> direction. Curious if someone knows this. Also it'd be good to know if
> someone is running this setup in prod. Thanks!
>
> Chao
>
> [1]:
> https://blog.cloudera.com/upgrading-clusters-workloads-hadoop-2-hadoop-3
>