import appliance fails with E_INVALIDARG (0x80070057)

Discussions related to using VirtualBox on Windows hosts.
Post Reply
Florin Andrei 2
Posts: 4
Joined: 5. Dec 2013, 22:12

import appliance fails with E_INVALIDARG (0x80070057)

Post by Florin Andrei 2 »

Host: Windows 10

Appliance: Hadoop HDP Sandbox 2.6.5 https://www.cloudera.com/downloads/hort ... x/hdp.html

Please note I am trying to import v2.6.5, not the latest version. filename is HDP_2.6.5_virtualbox_180626.ova

VirtualBox 6.1.18

Importing installation fails with the GUI and from the CLI. The CLI provides more information:
C:\Program Files\Oracle\VirtualBox>VBoxManage import C:\....................\HDP_2.6.5_virtualbox_180626.ova
0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting C:\....................\HDP_2.6.5_virtualbox_180626.ova...
OK.
Disks:
  vmdisk1       125829120000    -1      http://www.vmware.com/interfaces/specif ... mOptimized       Hortonworks Sandbox HDP 2.6.5-disk001.vmdk      -1      -1

Virtual system 0:
 0: Suggested OS type: "RedHat_64"
    (change with "--vsys 0 --ostype <type>"; use "list ostypes" to list all possible values)
 1: Suggested VM name "Hortonworks Sandbox HDP 2.6.5"
    (change with "--vsys 0 --vmname <name>")
 2: Suggested VM group "/"
    (change with "--vsys 0 --group <group>")
 3: Suggested VM settings file name "C:\......................\VirtualBox VMs\Hortonworks Sandbox HDP 2.6.5\Hortonworks Sandbox HDP 2.6.5.vbox"
    (change with "--vsys 0 --settingsfile <filename>")
 4: Suggested VM base folder "C:\Users\flori\VirtualBox VMs"
    (change with "--vsys 0 --basefolder <path>")
 5: Number of CPUs: 4
    (change with "--vsys 0 --cpus <n>")
 6: Guest memory: 8192 MB
    (change with "--vsys 0 --memory <MB>")
 7: Sound card (appliance expects "", can change on import)
    (disable with "--vsys 0 --unit 7 --ignore")
 8: USB controller
    (disable with "--vsys 0 --unit 8 --ignore")
 9: Network adapter: orig NAT, config 3, extra slot=0;type=NAT
10: IDE controller, type PIIX4
    (disable with "--vsys 0 --unit 10 --ignore")
11: IDE controller, type PIIX4
    (disable with "--vsys 0 --unit 11 --ignore")
12: Hard disk image: source image=Hortonworks Sandbox HDP 2.6.5-disk001.vmdk, target path=Hortonworks Sandbox HDP 2.6.5-disk001.vmdk, controller=10;channel=0
    (change target path with "--vsys 0 --unit 12 --disk path";
    disable with "--vsys 0 --unit 12 --ignore")
0%...10%...
Progress state: E_INVALIDARG
VBoxManage.exe: error: Appliance import failed
VBoxManage.exe: error: Code E_INVALIDARG (0x80070057) - One or more arguments are invalid (extended info not available)
VBoxManage.exe: error: Context: "enum RTEXITCODE __cdecl handleImportAppliance(struct HandlerArg *)" at line 1118 of file VBoxManageAppliance.cpp
I have tried to uninstall / reinstall VBox, reboot the system, etc - nothing helps. I have lots of disk space available. I do NOT have disk compression enabled.

The same OVA can be imported just fine into the same VBox version on macOS. So this is not a problem with the OVA, it's a problem with VBox.
Last edited by Florin Andrei 2 on 3. Mar 2021, 02:33, edited 1 time in total.
Florin Andrei 2
Posts: 4
Joined: 5. Dec 2013, 22:12

Re: import appliance fails with E_INVALIDARG (0x80070057)

Post by Florin Andrei 2 »

Nevermind, the OVA image was corrupted in transfer between Mac and Windows. I've re-downloaded it and now it works.

I wish these error messages were more clear.
scottgus1
Site Moderator
Posts: 20945
Joined: 30. Dec 2009, 20:14
Primary OS: MS Windows 10
VBox Version: VirtualBox+Oracle ExtPack
Guest OSses: Windows, Linux

Re: import appliance fails with E_INVALIDARG (0x80070057)

Post by scottgus1 »

Glad you found the problem and got things going!
Post Reply