Xcode 10.1 craches on startup within virtual container - xcode

I'm a new one in the Mac world and currently I'm trying to run Xcode 10.1 within the vmware container with Mac OS X 10.14.
I was able to successfully install Xcode from the AppStore...but can't start Xcode itself. It crashed after initial window (aka, Create a new project...) with full stack trace:
Process: Xcode [626]
Path: /Applications/Xcode.app/Contents/MacOS/Xcode
Identifier: com.apple.dt.Xcode
Version: 10.1 (14460.46)
Build Info: IDEFrameworks_Fall2018-14460046000000000~5
App Item ID: 497799835
App External ID: 828917606
Code Type: X86-64 (Native)
Parent Process: ??? [1]
Responsible: Xcode [626]
User ID: 501
Date/Time: 2018-11-02 13:55:14.216 +0100
OS Version: Mac OS X 10.14 (18A293u)
Report Version: 12
Anonymous UUID: D2FB79AD-8219-9107-CB64-93B01CB6F4C5
Sleep/Wake UUID: C189A821-D94E-4E2B-98A8-2B12B39649D7
Time Awake Since Boot: 1500 seconds
System Integrity Protection: enabled
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY
Application Specific Information:
Sending newProject: to <IDEApplicationCommands: 0x7fe071a42100> from (null)
ProductBuildVersion: 10B61
UNCAUGHT EXCEPTION (NSInvalidArgumentException): +[NSColor detailAccentColor]: unrecognized selector sent to class 0x7fff9cc3c0a8
UserInfo: (null)
Hints:
0: Sending newProject: to <IDEApplicationCommands: 0x7fe071a42100> from (null)
1: Sending openNewProjectAssistant: to <IDEWelcomeWindowController: 0x7fe0712418e0> from <IDEWelcomeWindowHighlightButton: 0x7fe0727649f0>
Backtrace:
0 __exceptionPreprocess (in CoreFoundation)
1 DVTFailureHintExceptionPreprocessor (in DVTFoundation)
2 objc_exception_throw (in libobjc.A.dylib)
3 __CFExceptionProem (in CoreFoundation)
4 ___forwarding___ (in CoreFoundation)
5 _CF_forwarding_prep_0 (in CoreFoundation)
64 NSApplicationMain (in AppKit)
65 main (in Xcode)
66 start (in libdyld.dylib)
abort() called
Application Specific Signatures:
NSInvalidArgumentException
Application Specific Backtrace 1:
0 CoreFoundation 0x00007fff420984ee __exceptionPreprocess + 197
1 DVTFoundation 0x000000010eed98c2 DVTFailureHintExceptionPreprocessor + 274
2 libobjc.A.dylib 0x00007fff6e07576b objc_exception_throw + 48
64 AppKit 0x00007fff3f589c26 NSApplicationMain + 780
65 Xcode 0x000000010ec4682e main + 574
66 libdyld.dylib 0x00007fff6efebee1 start + 1
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x00007fff6f15beb6 __pthread_kill + 10
1 libsystem_pthread.dylib 0x00007fff6f1f9088 pthread_kill + 285
2 libsystem_c.dylib 0x00007fff6f0a8189 abort + 127
3 com.apple.dt.IDEKit 0x0000000110b25793 +[IDEAssertionHandler _handleAssertionWithLogString:assertionSignature:assertionReason:extraBacktrace:] + 1324
Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133
Binary Images:
com.apple.dt.Xcode (10.1 - 14460.46)
com.apple.dt.DVTFoundation (10.1 - 14460.28)
com.apple.dt.DVTKit (10.1 - 14460.28)
com.apple.dt.IDEFoundation (10.1 - 14460.46)
com.apple.dt.IDEKit (10.1 - 14460.46)
+libswiftAVFoundation.dylib (4.2.1 - 1000.11.42)
+libswiftCore.dylib (4.2.1 - 1000.11.42)
+libswiftCoreAudio.dylib (4.2.1 - 1000.11.42)
+libswiftCoreFoundation.dylib (4.2.1 - 1000.11.42)
+libswiftCoreGraphics.dylib (4.2.1 - 1000.11.42)
+libswiftCoreImage.dylib (4.2.1 - 1000.11.42)
+libswiftCoreMedia.dylib (4.2.1 - 1000.11.42)
+libswiftDarwin.dylib (4.2.1 - 1000.11.42)
+libswiftDispatch.dylib (4.2.1 - 1000.11.42)
+libswiftFoundation.dylib (4.2.1 - 1000.11.42)
+libswiftIOKit.dylib (4.2.1 - 1000.11.42)
+libswiftMetal.dylib (4.2.1 - 1000.11.42)
+libswiftObjectiveC.dylib (4.2.1 - 1000.11.42)
+libswiftQuartzCore.dylib (4.2.1 - 1000.11.42)
+libswiftXPC.dylib (4.2.1 - 1000.11.42)
+libswiftsimd.dylib (4.2.1 - 1000.11.42)
com.apple.dt.DVTJRPC (1.0 - 1)
com.apple.dt.DVTDeviceControlServices (1.0 - 1)
com.apple.DebugSymbols (188 - 188)
com.apple.XCWatchKit1Support (1.0 - 1)
com.apple.CoreSymbolicationDT (10.1 - 64460.7)
com.apple.assetvalidation-plugin (1.0 - 1)
com.apple.dt.instruments.DTXConnectionServices (10.1 - 64460.16)
+cvmsCodeSignObjqEZSGwI1dDAVVakc (???)
com.apple.dt.instruments.DVTInstrumentsFoundation (10.1 - 64460.16)
com.apple.Metal (1.0 - 1)
+libswiftAppKit.dylib (4.2.1 - 1000.11.42)
com.apple.IBCompilerPlugin (10.1 - 14460.31)
+libswiftCoreData.dylib (4.2.1 - 1000.11.42)
com.apple.SymbolicationDT (10.1 - 64460.9)
com.apple.kperfdataDT (1.0 - 1)
com.apple.libktrace (1.0 - 271.200.30)
com.apple.dt.instruments.DVTInstrumentsUtilities (10.1 - 64460.16)
+libswiftos.dylib (4.2.1 - 1000.11.42)
com.apple.xcode.compilers.coredata (12.1 - 14460.26)
com.apple.dt.DVTServices (10.1 - 14460.28)
com.apple.compilers.clang (12.1 - 14460.26)
com.apple.dt.DVTPortal (10.1 - 1)
com.apple.dt.XCTest (1.0 - 14460.20)
com.apple.dt.DVTDeviceFoundation (10.1 - 1)
com.apple.dt.XCTAutomationSupport (1.0 - 1)
+libclang.dylib (1000.11.45.5)
com.apple.dt.SourceKit (1.0 - 14460.2)
+libLTO.dylib (1000.11.45.5)
com.apple.dt.DVTAnalytics (1.0 - 1)
com.apple.dt.DVTDocumentation (1.0 - 14460.28)
com.apple.DNTDocumentationModel (1.0 - 14460.6)
com.apple.DNTDocumentationSupport (1.0 - 14460.6)
com.apple.dt.XCTDaemonControl (1.0 - 1)
com.apple.LocFramework (2.0 - 42)
com.apple.GLToolsMobileFoundation (1.0 - 24215)
com.apple.dt.Xcode.DVTSourceControl (10.1 - 14460.4)
com.apple.dt.XcodeKit (10.1 - 14460.46)
+cvmsCodeSignObj9eLJFERShVqDWRe6 (???)
com.apple.DNTSourceKitSupport (1.0 - 14460.6)
+libswiftXCTest.dylib (4.2.1 - 1000.11.42)
com.apple.dt.DVTAnalyticsClient (10.1 - 1)
com.apple.DNTTransformer (1.0 - 14460.6)
com.apple.dt.IDEProducts (1.0 - 1)
com.apple.dt.DVTDeveloperModeHelper (1.0 - 1)
com.apple.dt.instruments.DTGraphKit (10.1 - 64460.12)
com.apple.dt.DebugHierarchyFoundation (1.0 - 2)
com.apple.CoreSimulator.CoreSimulatorUtilities (581.2 - 581.2)
com.apple.CoreSimulator.CoreSimDeviceIO (581.2 - 581.2)
+libMainThreadChecker.dylib (64460.8)
com.apple.dt.dbg.DebuggerFoundation (10.1 - 14460.32)
com.apple.IDEWatchKit1SupportUI (10.1 - 14460.2)
com.apple.dt.dbg.DebuggerLLDBService (10.1 - 14460.32)
com.apple.DevToolsFoundation (12.1 - 14460.26)
+liblaunch_sim.dylib (1336.220.5)
com.apple.CoreSimulator (581.2 - 581.2)
com.apple.dt.DebugHierarchyKit (1.0 - 2)
com.apple.LLDBRPC (1.0 - 1000.11.38.2)
com.apple.dt.XCTDaemonControlMobileDevice (1.0 - 1)
com.apple.DVTiPhoneSimulatorRemoteClient (10.1 - 14460.19)
com.apple.XCWatchOSSupport (1.0 - 1)
com.apple.xcode.compilers.mlkit (12.1 - 14460.3)
com.apple.dt.IBAutolayoutFoundation (10.1 - 14460.31)
com.apple.dt.IBFoundation (10.1 - 14460.31)
com.apple.AppleCV3D (1.21.3 - 1.21.3)
com.apple.dt.dbg.DebuggerLLDB (10.1 - 14460.32)
com.apple.dt.IDE.Xcode3Core (10.1 - 14460.26)
com.apple.Xcode.DevToolsCore (12.1 - 14460.26)
com.apple.Xcode.DevToolsSupport (12.1 - 14460.26)
com.apple.dt.IDE.IDEiOSSupportCore (10.1 - 14460.19)
com.apple.DTDeviceKitBase (10.1 - 14460.19)
com.apple.dt.XCLanguageSupport (10.1 - 14460.4)
com.apple.xcode.compilers.intents (10.1 - 14460.4)
com.apple.xcode.plug-in.CoreBuildTasks (12.1 - 14460.26)
...
com.apple.HIServices (1.22 - 627.10)
com.apple.LangAnalysis (1.7.0 - 1.7.0)
com.apple.print.framework.PrintCore (14.0 - 503.3)
com.apple.QD (3.12 - 407)
com.apple.speech.synthesis.framework (8.0.6 - 8.0.6)
com.apple.audio.toolbox.AudioToolbox (1.14 - 1.14)
com.apple.audio.units.AudioUnit (1.14 - 1.14)
com.apple.AutomatorFramework (2.9 - 444.23.1)
com.apple.CFNetwork (948.2 - 948.2)
com.apple.Carbon (158 - 158)
com.apple.CommonPanels (1.2.6 - 98)
com.apple.HIToolbox (2.1.1 - 916.15)
com.apple.help (1.3.8 - 66)
com.apple.ImageCapture (9.0 - 1511.3)
com.apple.ink.framework (10.9 - 222)
com.apple.openscripting (1.7 - 176)
com.apple.print.framework.Print (12 - 267)
com.apple.securityhi (9.0 - 55006)
com.apple.speech.recognition.framework (6.0.3 - 6.0.3)
com.apple.Cocoa (6.11 - 23)
com.apple.ColorSync (4.13.0 - 3331)
com.apple.contacts (1.0 - 2876)
com.apple.audio.CoreAudio (4.3.0 - 4.3.0)
com.apple.CoreBluetooth (1.0 - 1)
com.apple.CoreData (120 - 862.7)
com.apple.CoreDisplay (101.8 - 101.8)
com.apple.CoreFoundation (6.9 - 1535.12)
com.apple.CoreGraphics (2.0 - 1215.5)
com.apple.CoreImage (14.0.0 - 643)
com.apple.corelocation (2245.4.48.9)
com.apple.CoreML (1.0 - 1)
com.apple.CoreMedia (1.0 - 2280.60.8.2)
com.apple.CoreMediaIO (900.0 - 5019)
com.apple.CoreServices (921.2 - 921.2)
com.apple.AE (755.5 - 755.5)
com.apple.CoreServices.CarbonCore (1178.7 - 1178.7)
com.apple.DictionaryServices (1.2 - 284.15.2)
com.apple.CoreServices.FSEvents (1239.200.9.10.1 - 1239.200.9.10.1)
com.apple.LaunchServices (920 - 920)
com.apple.Metadata (10.7.0 - 1191.23.3)
com.apple.CoreServices.OSServices (920 - 920)
com.apple.SearchKit (1.4.0 - 1.4.0)
com.apple.coreservices.SharedFileList (71.9 - 71.22)
com.apple.CoreText (352.0 - 584.9.1.2)
com.apple.CoreVideo (1.8 - 0.0)
com.apple.framework.CoreWLAN (13.0 - 1370.5)
com.apple.DirectoryService.Framework (10.14 - 207.50.1)
com.apple.DiscRecording (9.0.3 - 9030.4.5)
com.apple.DiscRecordingUI (9.0.3 - 9030.4.5)
com.apple.DiskArbitration (2.7 - 2.7)
com.apple.Foundation (6.9 - 1535.12)
com.apple.GLKit (1.0 - 101)
com.apple.GSS (4.0 - 2.0)
com.apple.Bluetooth (6.0.8 - 6.0.8d20)
com.apple.framework.IOKit (2.0.2 - 1483.200.35)
com.apple.IOSurface (245 - 245)
com.apple.ImageCaptureCore (1.0 - 1511.3)
com.apple.ImageIO.framework (3.3.0 - 1771.2)
libGIF.dylib (1771.2)
libJP2.dylib (1771.2)
libJPEG.dylib (1771.2)
libPng.dylib (1771.2)
libRadiance.dylib (1771.2)
dylib (1771.2)
com.apple.JavaScriptCore (14606 - 14606.1.17.40.4)
com.apple.Kerberos (3.0 - 1)
com.apple.LDAPFramework (2.4.28 - 194.5)
com.apple.MapKit (1.0 - 1833.20.5.10.7)
com.apple.MediaAccessibility (1.0 - 114.3)
com.apple.MediaPlayer (1.0 - 1.0)
com.apple.MediaToolbox (1.0 - 2280.60.8.2)
com.apple.Metal (157.25 - 157.25)
com.apple.MetalKit (1.0 - 107.4.1)
com.apple.MetalPerformanceShaders.MPSCore (1.0 - 1)
com.apple.MetalPerformanceShaders.MPSImage (1.0 - 1)
com.apple.MetalPerformanceShaders.MPSMatrix (1.0 - 1)
com.apple.MetalPerformanceShaders.MPSNeuralNetwork (1.0 - 1)
com.apple.MetalPerformanceShaders.MPSRayIntersector (1.0 - 1)
com.apple.MetalPerformanceShaders.MetalPerformanceShaders (1.0 - 1)
com.apple.ModelIO (1.0 - 1)
com.apple.NetFS (6.0 - 4.0)
com.apple.Network (1.0 - 1)
com.apple.OSAKit (1.5 - 107)
com.apple.audio.OpenAL (1.8 - 1.8)
unorm8_bgra.dylib (2.9.3)
unorm8_rgba.dylib (2.9.3)
unorm8_rgx.dylib (2.9.3)
libcldcpuengine.dylib (2.9.3)
com.apple.opencl (2.8.20 - 2.8.20)
com.apple.CFOpenDirectory (10.14 - 207.50.1)
com.apple.OpenDirectory (10.14 - 207.50.1)
libCVMSPluginSupport.dylib (17.0.26)
libCoreFSCache.dylib (163.16)
libCoreVMClient.dylib (163.16)
libGFXShared.dylib (17.0.26)
libGL.dylib (17.0.26)
libGLImage.dylib (17.0.26)
libGLU.dylib (17.0.26)
com.apple.opengl (17.0.26 - 17.0.26)
org.python.python (2.7.10 - 2.7.10)
com.apple.QTKit (7.7.3 - 3026.1)
com.apple.imageKit (3.0 - 1058)
com.apple.PDFKit (1.0 - 721.1.1)
com.apple.QuartzComposer (5.1 - 368)
com.apple.quartzfilters (1.10.0 - 1.10.0)
com.apple.QuickLookUIFramework (5.0 - 765.6)
com.apple.quartzframework (1.5 - 21)
com.apple.QuartzCore (1.11 - 658.2)
com.apple.QuickLookFramework (5.0 - 765.6)
com.apple.SafariServices.framework (14606 - 14606.1.17.40.4)
com.apple.SceneKit (1.0 - 456.4)
com.apple.ScriptingBridge (1.4 - 74)
com.apple.security (7.0 - 58286.200.129.11.2)
com.apple.securityfoundation (6.0 - 55185.200.14)
com.apple.securityinterface (10.0 - 55109.200.5)
com.apple.xpc.ServiceManagement (1.0 - 1)
com.apple.SpriteKit (1.0 - 1)
com.apple.SystemConfiguration (1.17 - 1.17)
com.apple.VideoToolbox (1.0 - 2280.60.8.2)
libwebrtc.dylib (7606.1.17.40.4)
com.apple.WebCore (14606 - 14606.1.17.40.4)
com.apple.WebKitLegacy (14606 - 14606.1.17.40.4)
com.apple.WebKit (14606 - 14606.1.17.40.4)
com.apple.APFS (1.0 - 1)
com.apple.accessibility.AXCoreUtilities (1.0 - 1)
com.apple.AddressBook.core (1.0 - 1)
com.apple.AnnotationKit (1.0 - 232.3.15)
com.apple.AppContainer (4.0 - 360.200.11.10.2)
com.apple.AppSandbox (4.0 - 360.200.11.10.2)
com.apple.AppSupportUI (1.0 - ???)
com.apple.framework.Apple80211 (13.0 - 1375.5)
com.apple.AppleFSCompression (96.200.2 - 1.0)
com.apple.AppleIDAuthSupport (1.0 - 1)
com.apple.AppleJPEG (1.0 - 1)
com.apple.AppleLDAP (10.14 - 46.200.2)
com.apple.aps.framework (4.0 - 4.0)
com.apple.AppleSRP (5.0 - 1)
com.apple.applesauce (1.0 - ???)
com.apple.AppleSystemInfo (3.1.5 - 3.1.5)
com.apple.AppleVAFramework (5.0.43 - 5.0.43)
com.apple.AssertionServices (1.0 - 1)
com.apple.AuthKit (1.0 - 1)
com.apple.AuthKitUI (1.0 - 1)
com.apple.coreservices.BackgroundTaskManagement (1.0 - 57.1)
com.apple.backup.framework (1.10 - ???)
com.apple.BaseBoard (360.12.1 - 360.12.1)
com.apple.BezelServicesFW (310 - 310)
com.apple.bom (14.0 - 195)
com.apple.CacheDelete (1.0 - 1)
com.apple.CalendarAgentLink (8.0 - 250)
com.apple.ChunkingLibrary (194 - 194)
com.apple.CommerceCore (1.0 - 708.0.29.2)
com.apple.CommonAuth (4.0 - 2.0)
com.apple.commonutilities (8.0 - 900)
com.apple.framework.ConfigurationProfiles (11.0 - 1106)
com.apple.AddressBook.ContactsFoundation (8.0 - ???)
com.apple.contacts.ContactsPersistence (1.0 - ???)
com.apple.CoreAUC (265.0.0 - 265.0.0)
com.apple.CoreAVCHD (6.0.0 - 6000.4.1)
com.apple.CoreAnalytics.CoreAnalytics (1.0 - 1)
com.apple.corebrightness (1.0 - 1)
com.apple.frameworks.CoreDaemon (1.3 - 1.3)
com.apple.CoreEmoji (1.0 - 69.15.5)
com.apple.CoreHandwriting (161 - 1.2)
com.apple.CoreMediaAuthoring (2.2 - 958)
com.apple.CoreNLP (1.0 - 130.15.15)
com.apple.CoreOptimization (1.0 - 1)
com.apple.CorePDF (4.0 - 414)
com.apple.CorePhoneNumbers (1.0 - 1)
com.apple.CorePrediction (1.0 - 1)
com.apple.CoreServicesInternal (355 - 355)
com.apple.CoreSymbolication (10.0 - 64224)
com.apple.CoreThemeDefinition (2.0 - 346.15)
com.apple.coreui (2.1 - 498.23)
com.apple.CoreUtils (5.7 - 570.33)
com.apple.framework.CoreWiFi (13.0 - 1370.5)
com.apple.CrashReporterSupport (10.13 - 1)
com.apple.framework.DFRFoundation (1.0 - 206)
com.apple.DSExternalDisplay (3.1 - 380)
com.apple.datadetectors (5.0 - 382)
com.apple.datadetectorscore (7.0 - 590.12)
com.apple.DebugSymbols (183 - 183)
com.apple.desktopservices (1.13 - ???)
com.apple.DeviceLinkX (5.0 - 264)
com.apple.diagnosticlogcollection (10.0 - 1000)
com.apple.DiskImagesFramework (480.200.9 - 480.200.9)
com.apple.DiskManagement (12.0 - 1517.1)
com.apple.DisplayServicesFW (3.1 - 380)
com.apple.SystemConfiguration.EAP8021X (14.0.0 - 14.0)
com.apple.EFILogin (2.0 - 2)
com.apple.Engram (1.0 - 1)
com.apple.vision.EspressoFramework (1.0 - 107)
com.apple.vision.FaceCore (3.3.3 - 3.3.3)
com.apple.framework.familycontrols (4.1 - 410)
com.apple.GPUWrangler (3.22.9 - 3.22.9)
com.apple.GenerationalStorage (2.0 - 285.101)
com.apple.GeoServices (1.0 - 1365.20.5.10.5)
com.apple.GraphVisualizer (1.0 - 5)
com.apple.GraphicsServices (1.0 - 1.0)
com.apple.Heimdal (4.0 - 2.0)
com.apple.IASUtilities (1.0 - 497)
com.apple.ids (10.0 - 1000)
com.apple.idsfoundation (10.0 - 1000)
com.apple.imfoundation (10.0 - 1000)
com.apple.IOAccelerator (400.12.2 - 400.12.2)
com.apple.IOPlatformPluginFamily (1.0 - 1)
com.apple.IOPresentment (1.0 - 37)
com.apple.IconServices (262.1 - 365.2.1)
com.apple.InternationalSupport (1.0 - 10.15.3)
com.apple.IntlPreferences (2.0 - 227.15.2)
com.apple.Jet (1.0 - 1)
com.apple.security.KeychainCircle.KeychainCircle (1.0 - 1)
com.apple.LanguageModeling (1.0 - 159.15.10)
com.apple.Lexicon-framework (1.0 - 33.15.7)
com.apple.LinguisticData (1.0 - 260)
com.apple.LoggingSupport (1.0 - 906.200.52.10.1)
com.apple.LoginUICore (4.0 - 4.0)
com.apple.LookupFramework (1.2 - 246)
com.apple.Mangrove (1.0 - 1)
com.apple.marco (10.0 - 1000)
com.apple.MarkupUI (1.0 - 232.3.15)
com.apple.MediaKit (16 - 903)
com.apple.MediaRemote (1.0 - 1)
com.apple.MediaServices (1.0 - 1)
com.apple.spotlight.metadata.utilities (1.0 - 1191.23.3)
com.apple.gpusw.MetalTools (1.0 - 1)
com.apple.MobileAssets (1.0 - 437.200.22.10.4)
com.apple.mobiledevice (988.220.5 - 988.220.5)
com.apple.MobileKeyBag (2.0 - 1.0)
com.apple.Montreal (1.0 - 42.15.7)
com.apple.MultitouchSupport.framework (2000.21 - 2000.21)
com.apple.Navigation (1.0 - 1)
com.apple.NetAuth (6.2 - 6.2)
com.apple.network.statistics.framework (1.2 - 1)
com.apple.PackageKit (3.0 - 813.3)
com.apple.PencilKit (1.0 - 1)
com.apple.PerformanceAnalysis (1.207 - 207)
com.apple.PhoneNumbers (1.0 - 1)
com.apple.PhysicsKit (1.0 - 1)
com.apple.pluginkit.framework (1.0 - 1)
com.apple.PowerLog (1.0 - 1)
com.apple.ProtectedCloudStorage (1.0 - 1)
(1 - 263)
com.apple.QuickLookNonBaseSystem (1.0 - 1)
com.apple.QuickLookThumbnailing (1.0 - 1)
com.apple.ROCKit (17 - 17)
com.apple.xpc.RemoteServiceDiscovery (1.0 - 1336.200.58.10.2)
com.apple.RemoteViewServices (2.0 - 126)
com.apple.xpc.RemoteXPC (1.0 - 1336.200.58.10.2)
com.apple.Safari.SafeBrowsing (606 - 606.1.17.40.4)
com.apple.SecCodeWrapper (4.0 - 360.200.11.10.2)
com.apple.Sharing (1121.1 - 1121.1)
com.apple.framework.sidecar-core (1.0 - 20)
com.apple.performance.SignpostNotification (1.10 - 10)
com.apple.SkyLight (1.600.0 - 336.42.5)
com.apple.SpeechRecognitionCore (5.0.20 - 5.0.20)
com.apple.spotlight.index (10.7.0 - 1191.23.3)
com.apple.StorageManagement (1.0 - 1)
com.apple.StreamingZip (1.0 - 1)
com.apple.Symbolication (10.0 - 64234.1)
com.apple.framework.SystemAdministration (1.0 - 1.0)
com.apple.TCC (1.0 - 1)
com.apple.TextureIO (3.8.1 - 3.8.1)
com.apple.ToneKit (1.0 - 1)
com.apple.ToneLibrary (1.0 - 1)
com.apple.TrustEvaluationAgent (2.0 - 31)
com.apple.UIFoundation (1.0 - 550.19)
com.apple.URLFormatting (59 - 59.28)
com.apple.Uninstall (1.0.1 - 211)
libUAPreferences.dylib (361.33.1)
com.apple.VectorKit (1.0 - 1361.20.5.10.3)
com.apple.ViewBridge (379.1.1 - 379.1.1)
libAWDSupportFramework.dylib (848)
libprotobuf-lite.dylib (848)
libprotobuf.dylib (848)
com.apple.awd (1.0 - 930.8)
com.apple.private.XprotectFrameWork.XprotectFramework (1.0 - 1)
com.apple.kperf (1.0 - 1)
com.apple.loginsupport (1.0 - 1)
com.apple.login (3.0 - 3.0)
com.apple.contacts.vCard (1.0 - ???)
libAccessibility.dylib (2401.52.3)
libCRFSuite.dylib (41.15.4)
libChineseTokenizer.dylib (28.15.3)
libCoreStorage.dylib (546.50.1)
libDiagnosticMessagesClient.dylib (105)
libFosl_dynamic.dylib (18.3.2)
libMatch.1.dylib (31)
libMobileGestalt.dylib (645.200.47.10.1)
libOpenScriptingUtil.dylib (176)
libSystem.B.dylib (1252.200.5)
libTelephonyUtilDynamic.dylib (3595)
libThaiTokenizer.dylib (2.15.1)
libUniversalAccess.dylib (361.33.1)
libapple_nghttp2.dylib (1.24.1)
libarchive.2.dylib (54.200.2)
libate.dylib (1.13.7)
libauto.dylib (187)
libboringssl.dylib (109.200.20)
libbsm.0.dylib (39.200.15)
libbz2.1.0.dylib (38.200.3)
libc++.1.dylib (400.9.3)
libc++abi.dylib (400.15)
libcharset.1.dylib (51.200.3.10.1)
libcmph.dylib (6.15.1)
libcompression.dylib (52.200.11)
libcoretls.dylib (155.200.6)
libcoretls_cfhelpers.dylib (155.200.6)
libcrypto.35.dylib (22.200.2)
libcrypto.42.dylib (22.200.2)
libcsfde.dylib (546.50.1)
libcups.2.dylib (462.5)
libcurl.4.dylib (105.200.2)
libdtrace.dylib (284.200.12)
libdz.dylib (1.0.0 - 110.200.39.0.1)
libedit.3.dylib (50.200.2)
libenergytrace.dylib (17.200.1)
libexslt.0.dylib (16.1)
i.dylib (18.1)
libgermantok.dylib (17.15.2)
libheimdal-asn1.dylib (520.200.9)
libiconv.2.dylib (51.200.3.10.1)
libicucore.A.dylib (61105.0.1)
liblangid.dylib (128.15.1)
liblzma.5.dylib (10.200.3)
libmecab.1.0.0.dylib (779.15.14)
libmecabra.dylib (779.15.14)
libncurses.5.4.dylib (53.200.3)
libnetwork.dylib (1229.200.74.10.1)
libnetworkextension.dylib (767.200.25.10.1)
libobjc.A.dylib (744)
libodfde.dylib (24.50.1)
libpam.2.dylib (22)
libpanel.5.4.dylib (53.200.3)
libpcap.A.dylib (79.200.4)
libquit.dylib (258)
libresolv.9.dylib (65.200.2)
libsandbox.1.dylib (851.200.80.11.2)
libsasl2.2.dylib (211)
libspindump.dylib (258)
libsqlite3.dylib (274.15)
libssl.35.dylib (22.200.2)
libssl.44.dylib (22.200.2)
libstdc++.6.dylib (104.1)
libsysmon.dylib (100)
libtidy.A.dylib (16.1)
libusrtcp.dylib (1229.200.74.10.1)
libutil.dylib (51.200.3)
libxar.1.dylib (402.1)
libxml2.2.dylib (32.5)
libxslt.1.dylib (16.1)
libz.1.dylib (70.200.4)
libcache.dylib (81)
libcommonCrypto.dylib (60118.200.5)
libcompiler_rt.dylib (63.4)
libcopyfile.dylib (146.200.1)
libcorecrypto.dylib (602.200.31)
libdispatch.dylib (1008.200.56)
libdyld.dylib (620.3)
libkeymgr.dylib (30)
libkxld.dylib (4903.200.199.11.1)
liblaunch.dylib (1336.200.58.10.2)
libmacho.dylib (914)
libquarantine.dylib (86.200.5.10.1)
libremovefile.dylib (45.200.2)
libsystem_asl.dylib (356.200.3)
libsystem_blocks.dylib (73)
libsystem_c.dylib (1272.200.20)
libsystem_configuration.dylib (963.200.17)
libsystem_containermanager.dylib (136.200.27)
libsystem_coreservices.dylib (62)
libsystem_darwin.dylib (1272.200.20)
libsystem_dnssd.dylib (878.200.16)
libsystem_info.dylib (517.200.7)
libsystem_kernel.dylib (4903.200.199.11.1)
libsystem_m.dylib (3158.200.6)
libsystem_malloc.dylib (166.200.39.10.1)
libsystem_networkextension.dylib (767.200.25.10.1)
libsystem_notify.dylib (172.200.9.10.2)
libsystem_platform.dylib (177.200.7)
libsystem_pthread.dylib (330.200.30)
libsystem_sandbox.dylib (851.200.80.11.2)
libsystem_secinit.dylib (30.200.3)
libsystem_symptoms.dylib (820.207.59)
libsystem_trace.dylib (906.200.52.10.1)
libunwind.dylib (35.4)
libxpc.dylib (1336.200.58.10.2)
Model: VMware7,1, BootROM VMW71.00V.9694812.B64.1808210100, 4 processors, 3.05 GHz, 10.26 GB, SMC 1.16f8
Graphics: Display, 3 MB
Memory Module: RAM slot #0/RAM slot #0, 8 GB, DRAM, 0 MHz, VMware Virtual RAM, VMW-8192MB
Memory Module: RAM slot #1/RAM slot #1, 2 GB, DRAM, 0 MHz, VMware Virtual RAM, VMW-2048MB
Memory Module: RAM slot #2/RAM slot #2, 256 MB, DRAM, 0 MHz, VMware Virtual RAM, VMW-256MB
Memory Module: RAM slot #3/RAM slot #3, 8 MB, DRAM, 0 MHz, VMware Virtual RAM, VMW-8MB
Memory Module: RAM slot #4/RAM slot #4, 4 MB, DRAM, 0 MHz, VMware Virtual RAM, VMW-4MB
Network Service: Ethernet, Ethernet, en0
Serial ATA Device: VMware Virtual SATA Hard Drive, 107.37 GB
Serial ATA Device: VMware Virtual SATA CDRW Drive
USB Device: USB 2.0 Bus
USB Device: USB 3.0 Bus
USB Device: VMware Virtual USB Hub
USB Device: VMware Virtual USB Hub
USB Device: VMware Virtual USB Keyboard
USB Device: VMware Virtual USB Mouse
USB Device: USB Bus
Thunderbolt Bus:

Maybe it detects if the user is on a virtual machine and they intentionally crash their software .. I had exactly the same problem when I updated xcode, so I returned to xcode 10.0 and it works. I use the latest version of mac os: Mojav and my system is up to date.

Related

Solving Large System of Non-Linear Equations Using Mathematica

So I'm trying to create a graph of mu as a function of a variable A, where mu is part of a solution to the following system of 17 non-linear equations (with lambda, A, and r as parameters). However, I can't seem to find a way for Mathematica to solve this. Does anyone know how to solve a large system of non-linear equations? Have been researching methods for almost a month now but still no luck.
Also, to graph mu versus A, do I need Mathematica to solve this, or is there another method?
Solve[
mu*(yB - xB) = (1 - mu)*(xS - yS) &&
0 == -lambda*xB*yS - lambda*xB*(A - xS) + mu*(A*(1 - A - yB) - (1 - A)*xB) &&
0 == -lambda*yB*xS + lambda*(1 - A - yB)*yS + mu*((1 - A)*(A - xB) - A*yB) &&
0 == -lambda*xS*yB + lambda*(A - xS)*xB + (1 - mu)*(A*(1 - A - yS) - (1 - A)*xS) &&
0 == -lambda*yS*xB - lambda*yS*(1 - A - yB) + (1 - mu)*((1 - A)*(A - xS) - A*yS) &&
r*VBhn == lambda/mu*yS*(VBho - VBhn - PSB) + lambda/mu*(A - xS)*(VBho - VBhn - PACh) + (1 - A)*(VBln - VBhn) &&
r*VBlo == lambda/mu*xS*(VBln - VBlo + PBS) + A*(VBho - VBlo) + (1 - delta) &&
r*VBln == lambda/mu*yS*(VBlo - VBln - PACl) + A*(VBhn - VBln) &&
r*VBho == (1 - A)*(VBlo - VBho) + 1 &&
r*VShn == lambda/(1 - mu)*yB*(VSho - VShn - PBS) + (1 - A)*(VSln - VShn) &&
r*VSlo == lambda/(1 - mu)*xB*(VSln - VSlo + PSB) + lambda/(1 - mu)*(1 - A - yB)*(VSln - VSlo + PACl) + A*(VSho - VSlo) + (1 - delta) &&
r*VSln == A*(VShn - VSln) &&
r*VSho == lambda/(1 - mu)*xB*(VShn - VSho + PACh) + (1 - A)*(VSlo - VSho) + 1 &&
VBho - VBhn - PSB == VSln - VSlo + PSB &&
VBln - VBlo + PBS == VSho - VShn - PBS &&
VBho - VBhn - PACh == VShn - VSho + PACh &&
VBlo - VBln - PACl == VSln - VSlo + PACl,
{mu, xS, xB, yS, yB, VBhn, VBlo, VBln, VBho, VShn, VSlo, VSln, VSho, PSB, PBS, PACh, PACl}
]

Impala scan MapR-FS slow

I recently installed Impala on a 3-node MapR cluster. When I run a simple query.The performance is not as good as Impala + HDFS. Here is the query:
SELECT *
FROM ft_test, ft_wafer
WHERE ft_test_parquet.id = ft_wafer_parquet.id
and month = 1
and day = 8
and param = 2913;
It took about 3s. But when using the same query but with HDFS. It takes less than 1 sec for a 30Gb table size.
Here is the query profile:
Query Runtime Profile:
Query (id=dc4c084615fbf9bb:4261466f00000000):
Summary:
Session ID: 5d4edbf63653cdf6:1a59ff5354c9d4bd
Session Type: BEESWAX
Start Time: 2017-05-25 16:31:25.121391000
End Time: 2017-05-25 16:31:28.584404000
Query Type: QUERY
Query State: FINISHED
Query Status: OK
Impala Version: impalad version 2.7.0 RELEASE (build a535b583202c4a81080098a10f952d377af1949d)
User: root
Connected User: root
Delegated User:
Network Address: ::ffff:127.0.0.1:58546
Default Db: inspex
Sql Statement: select *
FROM ft_test_partition, ft_wafer_parquet
WHERE ft_test_partition.file = ft_wafer_parquet.file
and month = 1
and day = 8
and param = 2913 limit 100
Coordinator: mapr1:22000
Query Options (non default):
Plan:
----------------
Estimated Per-Host Requirements: Memory=704.67MB VCores=2
04:EXCHANGE [UNPARTITIONED]
| limit: 100
| hosts=1 per-host-mem=unavailable
| tuple-ids=1,0 row-size=800B cardinality=1
|
02:HASH JOIN [INNER JOIN, BROADCAST]
| hash predicates: ft_wafer_parquet.file = ft_test_partition.file
| runtime filters: RF000 <- ft_test_partition.file
| limit: 100
| hosts=1 per-host-mem=690.00KB
| tuple-ids=1,0 row-size=800B cardinality=1
|
|--03:EXCHANGE [BROADCAST]
| | hosts=1 per-host-mem=0B
| | tuple-ids=0 row-size=78B cardinality=8235
| |
| 00:SCAN HDFS [inspex.ft_test_partition, RANDOM]
| partitions=1/29 files=1 size=171.69MB
| predicates: param = 2913
| table stats: 813365826 rows total
| column stats: all
| hosts=1 per-host-mem=704.00MB
| tuple-ids=0 row-size=78B cardinality=8235
|
01:SCAN HDFS [inspex.ft_wafer_parquet, RANDOM]
partitions=1/1 files=1 size=66.83KB
runtime filters: RF000 -> ft_wafer_parquet.file
table stats: 1500 rows total
column stats: all
hosts=1 per-host-mem=192.00MB
tuple-ids=1 row-size=722B cardinality=1500
----------------
Estimated Per-Host Mem: 738904067
Estimated Per-Host VCores: 2
Request Pool: default-pool
Admission result: Admitted immediately
ExecSummary:
Operator #Hosts Avg Time Max Time #Rows Est. #Rows Peak Mem Est. Peak Mem Detail
----------------------------------------------------------------------------------------------------------------------
04:EXCHANGE 1 0.000ns 0.000ns 100 1 0 -1.00 B UNPARTITIONED
02:HASH JOIN 1 42.999ms 42.999ms 0 1 3.29 MB 690.00 KB INNER JOIN, BROADCAST
|--03:EXCHANGE 1 999.990us 999.990us 9.15K 8.23K 0 0 BROADCAST
| 00:SCAN HDFS 1 2s973ms 2s973ms 9.15K 8.23K 106.05 MB 704.00 MB inspex.ft_test_partition
01:SCAN HDFS 1 16.999ms 16.999ms 1.02K 1.50K 1.78 MB 192.00 MB inspex.ft_wafer_parquet
Planner Timeline: 15.315ms
- Analysis finished: 5.081ms (5.081ms)
- Equivalence classes computed: 5.601ms (519.374us)
- Single node plan created: 9.054ms (3.453ms)
- Runtime filters computed: 9.409ms (354.377us)
- Distributed plan created: 11.507ms (2.098ms)
- Planning finished: 15.315ms (3.808ms)
Query Timeline: 3s463ms
- Start execution: 0.000ns (0.000ns)
- Planning finished: 17.999ms (17.999ms)
- Submit for admission: 17.999ms (0.000ns)
- Completed admission: 17.999ms (0.000ns)
- Ready to start 2 remote fragments: 18.999ms (999.990us)
- All 2 remote fragments started: 19.999ms (999.990us)
- Rows available: 3s246ms (3s226ms)
- First row fetched: 3s346ms (99.999ms)
- Unregister query: 3s462ms (115.998ms)
- ComputeScanRangeAssignmentTimer: 0.000ns
ImpalaServer:
- ClientFetchWaitTimer: 214.997ms
- RowMaterializationTimer: 999.990us
Execution Profile dc4c084615fbf9bb:4261466f00000000:(Total: 3s228ms, non-child: 0.000ns, % non-child: 0.00%)
Number of filters: 1
Filter routing table:
ID Src. Node Tgt. Node(s) Targets Target type Partition filter Pending (Expected) First arrived Completed Enabled
----------------------------------------------------------------------------------------------------------------------------
0 2 1 1 LOCAL false 0 (1) N/A N/A true
Fragment start latencies: Count: 2, 25th %-ile: 0, 50th %-ile: 0, 75th %-ile: 1ms, 90th %-ile: 1ms, 95th %-ile: 1ms, 99.9th %-ile: 1ms
Final filter table:
ID Src. Node Tgt. Node(s) Targets Target type Partition filter Pending (Expected) First arrived Completed Enabled
----------------------------------------------------------------------------------------------------------------------------
0 2 1 1 LOCAL false 0 (1) N/A N/A true
Per Node Peak Memory Usage: mapr1:22000(108.65 MB)
- FiltersReceived: 0 (0)
- FinalizationTimer: 0.000ns
Coordinator Fragment F02:(Total: 3s226ms, non-child: 0.000ns, % non-child: 0.00%)
MemoryUsage(500.000ms): 16.00 KB, 16.00 KB, 16.00 KB, 16.00 KB, 16.00 KB, 16.00 KB, 16.00 KB
- AverageThreadTokens: 0.00
- BloomFilterBytes: 0
- PeakMemoryUsage: 209.83 KB (214864)
- PerHostPeakMemUsage: 0
- PrepareTime: 0.000ns
- RowsProduced: 0 (0)
- TotalCpuTime: 101.999ms
- TotalNetworkReceiveTime: 3s226ms
- TotalNetworkSendTime: 0.000ns
- TotalStorageWaitTime: 0.000ns
BlockMgr:
- BlockWritesOutstanding: 0 (0)
- BlocksCreated: 48 (48)
- BlocksRecycled: 0 (0)
- BufferedPins: 0 (0)
- BytesWritten: 0
- MaxBlockSize: 8.00 MB (8388608)
- MemoryLimit: 12.21 GB (13111148544)
- PeakMemoryUsage: 256.00 KB (262144)
- TotalBufferWaitTime: 0.000ns
- TotalEncryptionTime: 0.000ns
- TotalIntegrityCheckTime: 0.000ns
- TotalReadBlockTime: 0.000ns
EXCHANGE_NODE (id=4):(Total: 3s226ms, non-child: 0.000ns, % non-child: 0.00%)
BytesReceived(500.000ms): 0, 0, 0, 0, 0, 0, 0
- BytesReceived: 61.05 KB (62513)
- ConvertRowBatchTime: 0.000ns
- DeserializeRowBatchTimer: 0.000ns
- FirstBatchArrivalWaitTime: 3s226ms
- PeakMemoryUsage: 0
- RowsReturned: 100 (100)
- RowsReturnedRate: 30.00 /sec
- SendersBlockedTimer: 0.000ns
- SendersBlockedTotalTimer(*): 0.000ns
Averaged Fragment F00:(Total: 3s001ms, non-child: 0.000ns, % non-child: 0.00%)
split sizes: min: 66.83 KB, max: 66.83 KB, avg: 66.83 KB, stddev: 0
completion times: min:3s227ms max:3s227ms mean: 3s227ms stddev:0.000ns
execution rates: min:20.70 KB/sec max:20.70 KB/sec mean:20.70 KB/sec stddev:0.00 /sec
num instances: 1
- AverageThreadTokens: 1.86
- BloomFilterBytes: 1.00 MB (1048576)
- PeakMemoryUsage: 5.07 MB (5320864)
- PerHostPeakMemUsage: 108.65 MB (113924736)
- PrepareTime: 38.999ms
- RowsProduced: 1.02K (1024)
- TotalCpuTime: 3s232ms
- TotalNetworkReceiveTime: 2s940ms
- TotalNetworkSendTime: 0.000ns
- TotalStorageWaitTime: 13.999ms
CodeGen:(Total: 262.997ms, non-child: 262.997ms, % non-child: 100.00%)
- CodegenTime: 999.990us
- CompileTime: 73.999ms
- LoadTime: 0.000ns
- ModuleBitcodeSize: 1.86 MB (1953028)
- NumFunctions: 85 (85)
- NumInstructions: 2.86K (2857)
- OptimizationTime: 151.998ms
- PrepareTime: 36.999ms
DataStreamSender (dst_id=4):(Total: 999.990us, non-child: 999.990us, % non-child: 100.00%)
- BytesSent: 61.05 KB (62513)
- NetworkThroughput(*): 0.00 /sec
- OverallThroughput: 59.62 MB/sec
- RowsReturned: 1.02K (1024)
- SerializeBatchTime: 999.990us
- TransmitDataRPCTime: 0.000ns
- UncompressedRowBatchSize: 185.83 KB (190290)
HASH_JOIN_NODE (id=2):(Total: 3s001ms, non-child: 42.999ms, % non-child: 1.43%)
- BuildPartitionTime: 1.999ms
- BuildRows: 9.15K (9153)
- BuildRowsPartitioned: 9.15K (9153)
- BuildTime: 0.000ns
- GetNewBlockTime: 0.000ns
- HashBuckets: 16.38K (16384)
- HashCollisions: 0 (0)
- LargestPartitionPercent: 6 (6)
- MaxPartitionLevel: 0 (0)
- NumRepartitions: 0 (0)
- PartitionsCreated: 16 (16)
- PeakMemoryUsage: 3.29 MB (3445888)
- PinTime: 0.000ns
- ProbeRows: 1.02K (1024)
- ProbeRowsPartitioned: 0 (0)
- ProbeTime: 0.000ns
- RowsReturned: 0 (0)
- RowsReturnedRate: 0
- SpilledPartitions: 0 (0)
- UnpinTime: 0.000ns
EXCHANGE_NODE (id=3):(Total: 2s941ms, non-child: 2s941ms, % non-child: 100.00%)
- BytesReceived: 314.85 KB (322407)
- ConvertRowBatchTime: 0.000ns
- DeserializeRowBatchTimer: 0.000ns
- FirstBatchArrivalWaitTime: 0.000ns
- PeakMemoryUsage: 0
- RowsReturned: 9.15K (9153)
- RowsReturnedRate: 3.11 K/sec
- SendersBlockedTimer: 0.000ns
- SendersBlockedTotalTimer(*): 0.000ns
HDFS_SCAN_NODE (id=1):(Total: 16.999ms, non-child: 16.999ms, % non-child: 100.00%)
- AverageHdfsReadThreadConcurrency: 0.00
- AverageScannerThreadConcurrency: 0.00
- BytesRead: 128.51 KB (131593)
- BytesReadDataNodeCache: 0
- BytesReadLocal: 0
- BytesReadRemoteUnexpected: 0
- BytesReadShortCircuit: 0
- DecompressionTime: 0.000ns
- MaxCompressedTextFileLength: 0
- NumColumns: 49 (49)
- NumDisksAccessed: 0 (0)
- NumRowGroups: 1 (1)
- NumScannerThreadsStarted: 1 (1)
- PeakMemoryUsage: 1.78 MB (1866400)
- PerReadThreadRawHdfsThroughput: 4.18 MB/sec
- RemoteScanRanges: 0 (0)
- RowsRead: 1.50K (1500)
- RowsReturned: 1.02K (1024)
- RowsReturnedRate: 60.23 K/sec
- ScanRangesComplete: 1 (1)
- ScannerThreadsInvoluntaryContextSwitches: 0 (0)
- ScannerThreadsTotalWallClockTime: 14.999ms
- MaterializeTupleTime(*): 999.990us
- ScannerThreadsSysTime: 0.000ns
- ScannerThreadsUserTime: 2.216ms
- ScannerThreadsVoluntaryContextSwitches: 27 (27)
- TotalRawHdfsReadTime(*): 29.999ms
- TotalReadThroughput: 0.00 /sec
Filter 0 (1.00 MB):
- Rows processed: 1.50K (1500)
- Rows rejected: 3 (3)
- Rows total: 1.50K (1500)
Averaged Fragment F01:(Total: 3s191ms, non-child: 160.998ms, % non-child: 5.04%)
split sizes: min: 171.69 MB, max: 171.69 MB, avg: 171.69 MB, stddev: 0
completion times: min:3s210ms max:3s210ms mean: 3s210ms stddev:0.000ns
execution rates: min:53.47 MB/sec max:53.47 MB/sec mean:53.47 MB/sec stddev:0.00 /sec
num instances: 1
- AverageThreadTokens: 1.86
- BloomFilterBytes: 0
- PeakMemoryUsage: 106.05 MB (111206232)
- PerHostPeakMemUsage: 108.65 MB (113924736)
- PrepareTime: 33.999ms
- RowsProduced: 9.15K (9153)
- TotalCpuTime: 6s330ms
- TotalNetworkReceiveTime: 0.000ns
- TotalNetworkSendTime: 0.000ns
- TotalStorageWaitTime: 36.999ms
CodeGen:(Total: 51.999ms, non-child: 51.999ms, % non-child: 100.00%)
- CodegenTime: 999.990us
- CompileTime: 5.999ms
- LoadTime: 0.000ns
- ModuleBitcodeSize: 1.86 MB (1953028)
- NumFunctions: 13 (13)
- NumInstructions: 228 (228)
- OptimizationTime: 11.999ms
- PrepareTime: 33.999ms
DataStreamSender (dst_id=3):(Total: 4.999ms, non-child: 4.999ms, % non-child: 100.00%)
- BytesSent: 314.85 KB (322407)
- NetworkThroughput(*): 153.74 MB/sec
- OverallThroughput: 61.49 MB/sec
- RowsReturned: 9.15K (9153)
- SerializeBatchTime: 2.999ms
- TransmitDataRPCTime: 1.999ms
- UncompressedRowBatchSize: 769.68 KB (788150)
HDFS_SCAN_NODE (id=0):(Total: 2s973ms, non-child: 2s973ms, % non-child: 100.00%)
- AverageHdfsReadThreadConcurrency: 0.00
- AverageScannerThreadConcurrency: 1.00
- BytesRead: 171.79 MB (180132958)
- BytesReadDataNodeCache: 0
- BytesReadLocal: 0
- BytesReadRemoteUnexpected: 0
- BytesReadShortCircuit: 0
- DecompressionTime: 130.998ms
- MaxCompressedTextFileLength: 0
- NumColumns: 8 (8)
- NumDisksAccessed: 1 (1)
- NumRowGroups: 1 (1)
- NumScannerThreadsStarted: 1 (1)
- PeakMemoryUsage: 106.05 MB (111196408)
- PerReadThreadRawHdfsThroughput: 434.91 MB/sec
- RemoteScanRanges: 0 (0)
- RowsRead: 28.05M (28047320)
- RowsReturned: 9.15K (9153)
- RowsReturnedRate: 3.08 K/sec
- ScanRangesComplete: 1 (1)
- ScannerThreadsInvoluntaryContextSwitches: 112 (112)
- ScannerThreadsTotalWallClockTime: 3s157ms
- MaterializeTupleTime(*): 2s977ms
- ScannerThreadsSysTime: 566.243ms
- ScannerThreadsUserTime: 2s525ms
- ScannerThreadsVoluntaryContextSwitches: 100 (100)
- TotalRawHdfsReadTime(*): 394.996ms
- TotalReadThroughput: 57.11 MB/sec
Fragment F00:
Instance dc4c084615fbf9bb:4261466f00000001 (host=mapr1:22000):(Total: 3s001ms, non-child: 0.000ns, % non-child: 0.00%)
Hdfs split stats (<volume id>:<# splits>/<split lengths>): -1:1/66.83 KB
Filter 0 arrival: 3s210ms
MemoryUsage(500.000ms): 0, 3.05 MB, 3.14 MB, 3.13 MB, 3.09 MB, 3.12 MB, 3.19 MB
ThreadUsage(500.000ms): 1, 2, 2, 2, 2, 2, 2
- AverageThreadTokens: 1.86
- BloomFilterBytes: 1.00 MB (1048576)
- PeakMemoryUsage: 5.07 MB (5320864)
- PerHostPeakMemUsage: 108.65 MB (113924736)
- PrepareTime: 38.999ms
- RowsProduced: 1.02K (1024)
- TotalCpuTime: 3s232ms
- TotalNetworkReceiveTime: 2s940ms
- TotalNetworkSendTime: 0.000ns
- TotalStorageWaitTime: 13.999ms
CodeGen:(Total: 262.997ms, non-child: 262.997ms, % non-child: 100.00%)
- CodegenTime: 999.990us
- CompileTime: 73.999ms
- LoadTime: 0.000ns
- ModuleBitcodeSize: 1.86 MB (1953028)
- NumFunctions: 85 (85)
- NumInstructions: 2.86K (2857)
- OptimizationTime: 151.998ms
- PrepareTime: 36.999ms
DataStreamSender (dst_id=4):(Total: 999.990us, non-child: 999.990us, % non-child: 100.00%)
- BytesSent: 61.05 KB (62513)
- NetworkThroughput(*): 0.00 /sec
- OverallThroughput: 59.62 MB/sec
- RowsReturned: 1.02K (1024)
- SerializeBatchTime: 999.990us
- TransmitDataRPCTime: 0.000ns
- UncompressedRowBatchSize: 185.83 KB (190290)
HASH_JOIN_NODE (id=2):(Total: 3s001ms, non-child: 42.999ms, % non-child: 1.43%)
ExecOption: Build Side Codegen Enabled, Probe Side Codegen Enabled, Hash Table Construction Codegen Enabled, Join Build-Side Prepared Asynchronously, 1 of 1 Runtime Filter Published
- BuildPartitionTime: 1.999ms
- BuildRows: 9.15K (9153)
- BuildRowsPartitioned: 9.15K (9153)
- BuildTime: 0.000ns
- GetNewBlockTime: 0.000ns
- HashBuckets: 16.38K (16384)
- HashCollisions: 0 (0)
- LargestPartitionPercent: 6 (6)
- MaxPartitionLevel: 0 (0)
- NumRepartitions: 0 (0)
- PartitionsCreated: 16 (16)
- PeakMemoryUsage: 3.29 MB (3445888)
- PinTime: 0.000ns
- ProbeRows: 1.02K (1024)
- ProbeRowsPartitioned: 0 (0)
- ProbeTime: 0.000ns
- RowsReturned: 0 (0)
- RowsReturnedRate: 0
- SpilledPartitions: 0 (0)
- UnpinTime: 0.000ns
EXCHANGE_NODE (id=3):(Total: 2s941ms, non-child: 999.990us, % non-child: 0.03%)
BytesReceived(500.000ms): 70.08 KB, 127.46 KB, 162.66 KB, 230.08 KB, 301.42 KB, 312.19 KB
- BytesReceived: 314.85 KB (322407)
- ConvertRowBatchTime: 0.000ns
- DeserializeRowBatchTimer: 0.000ns
- FirstBatchArrivalWaitTime: 0.000ns
- PeakMemoryUsage: 0
- RowsReturned: 9.15K (9153)
- RowsReturnedRate: 3.11 K/sec
- SendersBlockedTimer: 0.000ns
- SendersBlockedTotalTimer(*): 0.000ns
HDFS_SCAN_NODE (id=1):(Total: 16.999ms, non-child: 16.999ms, % non-child: 100.00%)
ExecOption: Expr Evaluation Codegen Disabled, PARQUET Codegen Enabled
Hdfs split stats (<volume id>:<# splits>/<split lengths>): -1:1/66.83 KB
Runtime filters: All filters arrived. Waited 0
BytesRead(500.000ms): 0, 0, 0, 0, 0, 0
- AverageHdfsReadThreadConcurrency: 0.00
- AverageScannerThreadConcurrency: 0.00
- BytesRead: 128.51 KB (131593)
- BytesReadDataNodeCache: 0
- BytesReadLocal: 0
- BytesReadRemoteUnexpected: 0
- BytesReadShortCircuit: 0
- DecompressionTime: 0.000ns
- MaxCompressedTextFileLength: 0
- NumColumns: 49 (49)
- NumDisksAccessed: 0 (0)
- NumRowGroups: 1 (1)
- NumScannerThreadsStarted: 1 (1)
- PeakMemoryUsage: 1.78 MB (1866400)
- PerReadThreadRawHdfsThroughput: 4.18 MB/sec
- RemoteScanRanges: 0 (0)
- RowsRead: 1.50K (1500)
- RowsReturned: 1.02K (1024)
- RowsReturnedRate: 60.23 K/sec
- ScanRangesComplete: 1 (1)
- ScannerThreadsInvoluntaryContextSwitches: 0 (0)
- ScannerThreadsTotalWallClockTime: 14.999ms
- MaterializeTupleTime(*): 999.990us
- ScannerThreadsSysTime: 0.000ns
- ScannerThreadsUserTime: 2.216ms
- ScannerThreadsVoluntaryContextSwitches: 27 (27)
- TotalRawHdfsReadTime(*): 29.999ms
- TotalReadThroughput: 0.00 /sec
Filter 0 (1.00 MB):
- Rows processed: 1.50K (1500)
- Rows rejected: 3 (3)
- Rows total: 1.50K (1500)
Fragment F01:
Instance dc4c084615fbf9bb:4261466f00000002 (host=mapr1:22000):(Total: 3s191ms, non-child: 160.998ms, % non-child: 5.04%)
Hdfs split stats (<volume id>:<# splits>/<split lengths>): -1:1/171.69 MB
MemoryUsage(500.000ms): 0, 91.50 MB, 82.91 MB, 86.63 MB, 67.68 MB, 66.67 MB, 53.51 MB
ThreadUsage(500.000ms): 1, 2, 2, 2, 2, 2, 2
- AverageThreadTokens: 1.86
- BloomFilterBytes: 0
- PeakMemoryUsage: 106.05 MB (111206232)
- PerHostPeakMemUsage: 108.65 MB (113924736)
- PrepareTime: 33.999ms
- RowsProduced: 9.15K (9153)
- TotalCpuTime: 6s330ms
- TotalNetworkReceiveTime: 0.000ns
- TotalNetworkSendTime: 0.000ns
- TotalStorageWaitTime: 36.999ms
CodeGen:(Total: 51.999ms, non-child: 51.999ms, % non-child: 100.00%)
- CodegenTime: 999.990us
- CompileTime: 5.999ms
- LoadTime: 0.000ns
- ModuleBitcodeSize: 1.86 MB (1953028)
- NumFunctions: 13 (13)
- NumInstructions: 228 (228)
- OptimizationTime: 11.999ms
- PrepareTime: 33.999ms
DataStreamSender (dst_id=3):(Total: 4.999ms, non-child: 4.999ms, % non-child: 100.00%)
- BytesSent: 314.85 KB (322407)
- NetworkThroughput(*): 153.74 MB/sec
- OverallThroughput: 61.49 MB/sec
- RowsReturned: 9.15K (9153)
- SerializeBatchTime: 2.999ms
- TransmitDataRPCTime: 1.999ms
- UncompressedRowBatchSize: 769.68 KB (788150)
HDFS_SCAN_NODE (id=0):(Total: 2s973ms, non-child: 2s973ms, % non-child: 100.00%)
ExecOption: Expr Evaluation Codegen Enabled, PARQUET Codegen Enabled, Codegen enabled: 1 out of 1
Hdfs split stats (<volume id>:<# splits>/<split lengths>): -1:1/171.69 MB
Hdfs Read Thread Concurrency Bucket: 0:100% 1:0% 2:0% 3:0% 4:0% 5:0%
File Formats: PARQUET/SNAPPY:8
BytesRead(500.000ms): 88.45 MB, 112.45 MB, 136.45 MB, 152.66 MB, 168.66 MB, 171.79 MB
- AverageHdfsReadThreadConcurrency: 0.00
- AverageScannerThreadConcurrency: 1.00
- BytesRead: 171.79 MB (180132958)
- BytesReadDataNodeCache: 0
- BytesReadLocal: 0
- BytesReadRemoteUnexpected: 0
- BytesReadShortCircuit: 0
- DecompressionTime: 130.998ms
- MaxCompressedTextFileLength: 0
- NumColumns: 8 (8)
- NumDisksAccessed: 1 (1)
- NumRowGroups: 1 (1)
- NumScannerThreadsStarted: 1 (1)
- PeakMemoryUsage: 106.05 MB (111196408)
- PerReadThreadRawHdfsThroughput: 434.91 MB/sec
- RemoteScanRanges: 0 (0)
- RowsRead: 28.05M (28047320)
- RowsReturned: 9.15K (9153)
- RowsReturnedRate: 3.08 K/sec
- ScanRangesComplete: 1 (1)
- ScannerThreadsInvoluntaryContextSwitches: 112 (112)
- ScannerThreadsTotalWallClockTime: 3s157ms
- MaterializeTupleTime(*): 2s977ms
- ScannerThreadsSysTime: 566.243ms
- ScannerThreadsUserTime: 2s525ms
- ScannerThreadsVoluntaryContextSwitches: 100 (100)
- TotalRawHdfsReadTime(*): 394.996ms
- TotalReadThroughput: 57.11 MB/sec
What I already did is: using parquet, partitioning, compute stats. But still can't get the same time as before.
From what I see. Most of the time was spent on Scan HDFS, which is very weird because this is not a time-consuming part usually. Please take a look. Any input would be nice. Thanks.
This could be because of HDFS SCAN on node 0 is taking more time:
-HDFS_SCAN_NODE (id=0):(Total: 2s973ms, non-child: 2s973ms, % non-child: 100.00%)
File Formats: PARQUET/SNAPPY:8
An exact question has been asked at MapR Converge Community:
https://community.mapr.com/message/59777-impala-scan-mapr-fs-slow

OSX stackshot format

I have a stackshot file and I'm trying to figure out what's going on in it. Here's a thread from one of the processes in it (this is from WindowServer):
Thread 0xf09 1000 samples (1-1000) priority 79 (base 79) cpu time 0.044s
1000 thread_start + 13 (libsystem_pthread.dylib + 4981) [0x7fff952b3375]
1000 _pthread_start + 168 (libsystem_pthread.dylib + 15248) [0x7fff952b5b90]
1000 _pthread_body + 131 (libsystem_pthread.dylib + 15379) [0x7fff952b5c13]
1000 thread_fun + 25 (QuartzCore + 129849) [0x7fff816e1b39]
993 CA::Render::Server::server_thread(void*) + 257 (QuartzCore + 130113) [0x7fff816e1c41]
993 mach_msg_trap + 10 (libsystem_kernel.dylib + 70534) [0x7fff8f639386]
*992 ipc_mqueue_receive_continue + 0 (kernel + 828992) [0xffffff80002ca640]
*1 Thread_continue + 8 (kernel + 1879576) [0xffffff80003cae18]
*1 thread_continue + 67 (kernel + 1001955) [0xffffff80002f49e3] (running)
7 CA::Render::Server::server_thread(void*) + 563 (QuartzCore + 130419) [0x7fff816e1d73]
7 CA::Render::Server::ReceivedMessage::dispatch() + 31 (QuartzCore + 1031139) [0x7fff817bdbe3]
6 CA::Render::Server::ReceivedMessage::run_command_stream() + 567 (QuartzCore + 1032931) [0x7fff817be2e3]
5 CA::Render::decode_commands(CA::Render::Decoder*) + 2276 (QuartzCore + 1030108) [0x7fff817bd7dc]
3 CA::Render::Context::did_commit(bool, bool) + 76 (QuartzCore + 750372) [0x7fff81779324]
2 CA::Render::post_notification(CA::Render::NotificationName, CA::Render::Object*, void*, bool) + 249 (QuartzCore + 104465) [0x7fff816db811]
2 contextChanged + 127 (CoreGraphics + 5099842) [0x7fff91bf3142]
2 mach_msg_trap + 10 (libsystem_kernel.dylib + 70534) [0x7fff8f639386]
*2 hndl_mach_scall64 + 22 (kernel + 2030166) [0xffffff80003efa56]
*2 mach_call_munger64 + 410 (kernel + 1817898) [0xffffff80003bbd2a]
*2 mach_msg_overwrite_trap + 197 (kernel + 877285) [0xffffff80002d62e5]
*2 ipc_kmsg_send + 307 (kernel + 813363) [0xffffff80002c6933]
*2 ipc_mqueue_send + 599 (kernel + 827767) [0xffffff80002ca177]
*2 ipc_mqueue_post + 932 (kernel + 828756) [0xffffff80002ca554] (running)
1 CA::Render::post_notification(CA::Render::NotificationName, CA::Render::Object*, void*, bool) + 99 (QuartzCore + 104315) [0x7fff816db77b] (running)
1 CA::Render::post_notification(CA::Render::NotificationName, CA::Render::Object*, void*, bool) + 94 (QuartzCore + 104310) [0x7fff816db776] (running)
1 CA::Render::post_notification(CA::Render::NotificationName, CA::Render::Object*, void*, bool) + 249 (QuartzCore + 104465) [0x7fff816db811]
1 contextDidCommit + 125 (CoreGraphics + 5100116) [0x7fff91bf3254] (running)
1 CA::Render::decode_commands(CA::Render::Decoder*) + 61 (QuartzCore + 1027893) [0x7fff817bcf35]
1 CA::Render::Context::will_commit() + 30 (QuartzCore + 163728) [0x7fff816e9f90]
1 CA::Render::post_notification(CA::Render::NotificationName, CA::Render::Object*, void*, bool) + 94 (QuartzCore + 104310) [0x7fff816db776] (running)
1 CA::Render::Server::ReceivedMessage::run_command_stream() + 683 (QuartzCore + 1033047) [0x7fff817be357]
1 x_mem_dealloc_chain + 35 (QuartzCore + 54163) [0x7fff816cf393] (running)
The title line claims 1000 samples, so I'm going to guess that the number in front of the stack frames is a count of how many times the sampler found that frame in the snapshot? That would also explain the indentation. What does the * next to the sample number mean? For example, hndle_mach_scall64 has *2 next to it. What does that mean?
Looking at it again, it seems like the * denotes code on the other side of a syscall.

Multiplying constant to an expression

I am multiplying constant to an expression which can be seen from below. But the final expression is getting reduced. I just want it to be multiplied.
(x^2 (-((1. (2 - 1/x)^3 x^5)/(
Sqrt[1 - x^2] (0. + 1. x^2)^1.5)) + ((2 - 1/x)^3 x^5)/((1 - x^2)^(
3/2) (0. + 1. x^2)^0.5) + (3 (2 - 1/x)^2 x^2)/(
Sqrt[1 - x^2] (0. + 1. x^2)^0.5) + (4 (2 - 1/x)^3 x^3)/(
Sqrt[1 - x^2] (0. + 1. x^2)^0.5)))/(3 (2 - 1/x)^2) * (4)
Kindly help. Thanks in advance.
It simplifies ok.
expr = (x^2 (-((1. (2 - 1/x)^3 x^5)/
(Sqrt[1 - x^2] (0. + 1. x^2)^1.5)) +
((2 - 1/x)^3 x^5)/
((1 - x^2)^(3/2) (0. + 1. x^2)^0.5) +
(3 (2 - 1/x)^2 x^2)/
(Sqrt[1 - x^2] (0. + 1. x^2)^0.5) +
(4 (2 - 1/x)^3 x^3)/
(Sqrt[1 - x^2] (0. + 1. x^2)^0.5)))/
(3 (2 - 1/x)^2)*(4);
Simplify[expr] // InputForm
(-2.6666666666666665*x^4*(-1.5*x^6*(x^2)^0.5 + 1.x^7(x^2)^0.5 + 1.5*x*(x^2)^1.5 -
4.5*(x^2)^2.5 + x^5*(-0.25*(x^2)^0.5 - 3.(x^2)^1.5) +
x^4(1.375*(x^2)^0.5 + 3.(x^2)^1.5) + x^3(-0.75*(x^2)^0.5 + 3.25*(x^2)^1.5)))/
((0.5 - 1.x)^2(x^2)^2.Sqrt[1 - x^2](-1. + x^2))

Why am I getting a silent crash on iOS6?

I'm at my wit's end trying to figure out a "silent" crash I am getting. There isn't a specific part of code where it occurs, because I have placed nslogs in several locations and there is no correlation with them and the crash.
I am using vmtracker in the instruments allocation tool and my dirty memory varies but crashes as low as 32 MB. My live bytes in allocations (not vmtracker) is stable at around 10-12 MB.
I could understand it if it was some logic error, but this is a silent crash and xcode gives no information except NSZombie_NSException.
This is from the crash log:
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x60000008
Crashed Thread: 0
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0 Crashed:
0 libobjc.A.dylib 0x34da9564 0x34da6000 + 13668
1 libobjc.A.dylib 0x34da9f84 0x34da6000 + 16260
2 libobjc.A.dylib 0x34dab1d2 0x34da6000 + 20946
3 CoreFoundation 0x372ae600 0x371ec000 + 796160
4 CoreFoundation 0x372ae358 0x371ec000 + 795480
5 libobjc.A.dylib 0x34daea62 0x34da6000 + 35426
6 libc++abi.dylib 0x35a41078 0x35a40000 + 4216
7 libc++abi.dylib 0x35a41110 0x35a40000 + 4368
8 libc++abi.dylib 0x35a42594 0x35a40000 + 9620
9 libobjc.A.dylib 0x34dae9cc 0x34da6000 + 35276
10 CoreFoundation 0x371f4f1c 0x371ec000 + 36636
11 CoreFoundation 0x371f4d44 0x371ec000 + 36164
12 GraphicsServices 0x34eaa2e6 0x34ea5000 + 21222
13 UIKit 0x36c6c2fc 0x36c15000 + 357116
14 Pocket Dungeons 0x0008a2be 0x3a000 + 328382
15 Pocket Dungeons 0x0003b8bc 0x3a000 + 6332
Is 32 MB a lot of dirty memory for iPod Touch 4g, iOS 6?

Resources