Support Questions

Find answers, ask questions, and share your expertise

upload HDP-2.3.4.0-centos6.rmp failed

avatar
Expert Contributor

I know this file is very big one, but I have to upload to HDP server for hdp/ambari installation.

tried use winscp and ptscp(putty) to upload this file, failed many time, got error like 'timeout', 'network error occured'.

someone there mush uploaded this file to server, how you guys did it?

Please share your exp.

thanks,

Robin

1 ACCEPTED SOLUTION

avatar
Master Mentor
@Robin Dong

Hi Robin, Please look into this Filezilla. https://filezilla-project.org/

There is a way to set ping request every few seconds

Here is another idea ...read this http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#faq-timeout

A.7.11 PuTTY's network connections time out too quickly when network connectivity is temporarily lost.

This is a Windows problem, not a PuTTY problem. The timeout value can't be set on per application or per session basis. To increase the TCP timeout globally, you need to tinker with the Registry.

On Windows 95, 98 or ME, the registry key you need to create or change is

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\
  MSTCP\MaxDataRetries

(it must be of type DWORD in Win95, or String in Win98/ME). (See MS Knowledge Base article 158474 for more information.)

On Windows NT, 2000, or XP, the registry key to create or change is

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\
  Parameters\TcpMaxDataRetransmissions

and it must be of type DWORD. (See MS Knowledge Base articles 120642 and 314053 for more information.)

Set the key's value to something like 10. This will cause Windows to try harder to keep connections alive instead of abandoning them.

View solution in original post

5 REPLIES 5

avatar
Master Mentor
@Robin Dong

why don't you scp it in terminal? You can also try rsync as that can retry from where you left off. The colon at the end is necessary.

scp file.rpm root@server:

avatar
Expert Contributor

thank you, let me know it now.

avatar
Expert Contributor

I tried to upload file from windows to linux, so I use pscp -scp option, it connected, but failed to copy.

thanks,

avatar
Master Mentor
@Robin Dong

Hi Robin, Please look into this Filezilla. https://filezilla-project.org/

There is a way to set ping request every few seconds

Here is another idea ...read this http://www.chiark.greenend.org.uk/~sgtatham/putty/faq.html#faq-timeout

A.7.11 PuTTY's network connections time out too quickly when network connectivity is temporarily lost.

This is a Windows problem, not a PuTTY problem. The timeout value can't be set on per application or per session basis. To increase the TCP timeout globally, you need to tinker with the Registry.

On Windows 95, 98 or ME, the registry key you need to create or change is

HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\VxD\
  MSTCP\MaxDataRetries

(it must be of type DWORD in Win95, or String in Win98/ME). (See MS Knowledge Base article 158474 for more information.)

On Windows NT, 2000, or XP, the registry key to create or change is

HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\Tcpip\
  Parameters\TcpMaxDataRetransmissions

and it must be of type DWORD. (See MS Knowledge Base articles 120642 and 314053 for more information.)

Set the key's value to something like 10. This will cause Windows to try harder to keep connections alive instead of abandoning them.

avatar
Expert Contributor

Thanks Neeraj for all these details. I was looking for a way to configure this, you provide exact steps. thank you.

Robin